Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001951/0.001951, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.002353/0.002353, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.162/3.162, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [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.002893/0.002893, allocations: 67.62 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3462, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003656/0.3499, allocations: 1.977 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.3521, allocations: 1.279 MB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3523, allocations: 7.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.3528, allocations: 167.4 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005422/0.3533, allocations: 211.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.3537, allocations: 163.6 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.3541, allocations: 343 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3543, allocations: 36.84 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.3545, allocations: 147.4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.3548, allocations: 167.4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.3548, allocations: 16 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.355, allocations: 63.91 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3551, allocations: 91.67 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3552, allocations: 103.3 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.3557, allocations: 390.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3557, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3557, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3557, allocations: 0 / 1.332 GB, free: 11.86 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001154/0.3569, allocations: 0.5702 MB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3569, allocations: 8.031 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.357, allocations: 36.7 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005495/0.3576, allocations: 324.4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3576, allocations: 7.906 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.3576, allocations: 15.98 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.3579, allocations: 105.6 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3579, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3579, allocations: 7.984 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3579, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.3581, allocations: 63.95 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.359, allocations: 428.1 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.3594, allocations: 150.6 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3595, allocations: 40.84 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3596, allocations: 7.984 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.3598, allocations: 111.3 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3598, allocations: 0 / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005872/0.3604, allocations: 245.2 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3605, allocations: 51.41 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.3611, allocations: 0.5327 MB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3611, allocations: 33.7 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3613, allocations: 172.5 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3613, allocations: 35.73 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.3615, allocations: 69.92 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.3616, allocations: 350.8 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.3619, allocations: 104.5 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.3621, allocations: 143.5 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.3624, allocations: 183 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3624, allocations: 4 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006137/0.3631, allocations: 337.3 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3631, allocations: 4 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3631, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.3631, allocations: 7.938 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.3634, allocations: 51.91 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.3634, allocations: 3.984 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3635, allocations: 11.95 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.3635, allocations: 20.06 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002224/0.3638, allocations: 190.2 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.3638, allocations: 35.77 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.3643, allocations: 204.7 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3643, allocations: 0 / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3643, allocations: 4 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3643, allocations: 0 / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.3646, allocations: 237.1 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3646, allocations: 0 / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.3647, allocations: 19.94 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3647, allocations: 0 / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.3647, allocations: 11.98 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.3647, allocations: 7.922 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3647, allocations: 0 / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.3651, allocations: 222.6 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.3652, allocations: 39.8 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.3653, allocations: 8 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3654, allocations: 11.94 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.3655, allocations: 23.91 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3655, allocations: 11.98 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003731/0.3659, allocations: 323.1 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3659, allocations: 4 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002963/0.3662, allocations: 63.83 kB / 1.338 GB, free: 6.043 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001696/0.3678, allocations: 452.2 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.3683, allocations: 189.7 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3683, allocations: 4.125 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.3685, allocations: 59.91 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.3689, allocations: 105.3 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.3699, allocations: 0.5625 MB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.3701, allocations: 187.8 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001459/0.3702, allocations: 50.95 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.3703, allocations: 35.42 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3703, allocations: 4 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of Templates: time 0.01007/0.3804, allocations: 4.756 MB / 1.344 GB, free: 15.86 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 8.871039577003103]