Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 211.5 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.275/3.275, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.84 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3879, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002164/0.3901, allocations: 0.6937 MB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3912, allocations: 0.8359 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.3913, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.3913, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.3914, allocations: 7.875 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.3915, allocations: 23.95 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3916, allocations: 39.86 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3917, allocations: 12 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.3918, allocations: 19.98 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.3919, allocations: 23.84 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3919, allocations: 8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.3919, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.3919, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.392, allocations: 15.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3921, allocations: 51.73 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3921, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3921, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3921, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005872/0.3927, allocations: 282.2 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3927, allocations: 16.03 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3928, allocations: 4.875 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3929, allocations: 114.4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3929, allocations: 4.375 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.3929, allocations: 8.359 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.3932, allocations: 62.22 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3932, allocations: 192 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.3932, allocations: 15.92 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3932, allocations: 3.938 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.3935, allocations: 71.86 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.3939, allocations: 200.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3941, allocations: 50.53 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.3942, allocations: 40.86 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3943, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3943, allocations: 34.56 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3943, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005613/0.3949, allocations: 137.5 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3949, allocations: 51.41 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.395, allocations: 109.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.395, allocations: 25.7 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.3951, allocations: 88.14 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.3951, allocations: 7.938 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3952, allocations: 17.72 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3953, allocations: 310.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3955, allocations: 35.95 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3956, allocations: 31.97 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3959, allocations: 72.72 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3959, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003198/0.3962, allocations: 101.5 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3962, allocations: 8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3962, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.3963, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3964, allocations: 15.97 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3964, allocations: 320 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.3965, allocations: 11.98 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3965, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.4e-05/0.3966, allocations: 113.8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3966, allocations: 11.83 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.397, allocations: 113.5 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.397, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.397, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.397, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.3972, allocations: 117.2 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3972, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.3973, allocations: 24.28 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3973, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.3973, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3973, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3973, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.3977, allocations: 195.4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.3977, allocations: 15.81 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3977, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3978, allocations: 11.98 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.3979, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3979, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.168e-05/0.3979, allocations: 95.25 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3979, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000214/0.3981, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.3983, allocations: 99.23 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.3986, allocations: 67.92 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3986, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3988, allocations: 39.89 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3991, allocations: 9.562 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.3994, allocations: 117.6 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.155e-05/0.3995, allocations: 67.34 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.3995, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.3996, allocations: 7.438 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.3996, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Templates: time 0.003344/0.4029, allocations: 0.7591 MB / 1.333 GB, free: 11.18 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.112639315004344]