Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001897/0.001897, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002925/0.002925, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.793 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.431/3.431, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [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.002184/0.002184, allocations: 66.84 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4421, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002628/0.4447, allocations: 0.7576 MB / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.4461, allocations: 0.8859 MB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.4462, allocations: 4 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.4463, allocations: 7.875 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.4464, allocations: 15.86 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.4466, allocations: 35.95 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.4468, allocations: 91.77 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.447, allocations: 16.12 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.4471, allocations: 39.89 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.4472, allocations: 39.83 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.4473, allocations: 8 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.4473, allocations: 8 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.4473, allocations: 27.91 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.4474, allocations: 31.86 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.4476, allocations: 99.33 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4476, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4476, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4476, allocations: 4 kB / 1.328 GB, free: 15.74 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008817/0.4485, allocations: 310 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.4486, allocations: 16.02 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/0.4486, allocations: 8.891 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.4489, allocations: 118.4 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.4489, allocations: 4.375 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.4489, allocations: 8.375 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.4493, allocations: 113.5 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4493, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4493, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4493, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.4497, allocations: 99.89 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.4504, allocations: 268.4 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.4512, allocations: 118.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.4514, allocations: 52.81 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.4514, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.4514, allocations: 34.56 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.4514, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007947/0.4522, allocations: 193.4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.4523, allocations: 51.41 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4524, allocations: 117.8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.4525, allocations: 25.7 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.4526, allocations: 104 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.4526, allocations: 19.84 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-05/0.4527, allocations: 25.7 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4528, allocations: 322.7 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.453, allocations: 51.95 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.4532, allocations: 43.95 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.4537, allocations: 93.25 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4537, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004509/0.4542, allocations: 149.5 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4542, allocations: 8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4542, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4542, allocations: 0 / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4544, allocations: 23.97 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4544, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.4546, allocations: 31.91 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.4546, allocations: 7.938 kB / 1.33 GB, free: 13.2 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001133/0.4547, allocations: 113.8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.4547, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.4552, allocations: 149.9 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4552, allocations: 3.984 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4552, allocations: 4 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4552, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.4554, allocations: 141.1 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4554, allocations: 0 / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.4556, allocations: 23.97 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4556, allocations: 4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4556, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4556, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4556, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.4561, allocations: 247.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.4561, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.4561, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.4563, allocations: 15.97 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.4564, allocations: 23.97 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.4564, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.656e-05/0.4565, allocations: 99.64 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4565, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002437/0.4567, allocations: 15.95 kB / 1.331 GB, free: 12.29 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001498/0.4569, allocations: 111.2 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.4573, allocations: 107.8 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4573, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.4575, allocations: 59.95 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.4579, allocations: 13.64 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.4585, allocations: 170.4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.4586, allocations: 75.33 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.569e-05/0.4587, allocations: 11.98 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.4588, allocations: 15.44 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/0.4588, allocations: 3.938 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of Templates: time 0.005876/0.4646, allocations: 1.73 MB / 1.333 GB, free: 9.969 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.770114535465837]