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.001433/0.001433, allocations: 102.4 kB / 16.45 MB, free: 6.449 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.001524/0.001524, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.585/1.585, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.494/3.494, allocations: 0.4899 GB / 0.7915 GB, free: 33.57 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.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.002131/0.002131, allocations: 70.75 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4468, allocations: 176.1 MB / 1.321 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003912/0.4508, allocations: 2.033 MB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.4534, allocations: 1.351 MB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.4536, allocations: 11.88 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.4541, allocations: 167.4 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.4546, allocations: 203.2 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.4549, allocations: 159.5 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.4554, allocations: 339.1 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.4556, allocations: 36.67 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.4559, allocations: 167.4 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.4561, allocations: 163.3 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.4562, allocations: 16 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.4564, allocations: 59.97 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.4565, allocations: 95.61 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.4567, allocations: 119.2 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.4573, allocations: 390.3 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4573, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.644e-06/0.4573, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.4573, allocations: 0 / 1.326 GB, free: 13.6 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.0014/0.4587, allocations: 0.6494 MB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.4588, allocations: 11.98 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.4589, allocations: 36.7 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006717/0.4596, allocations: 390.2 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.4596, allocations: 8 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4596, allocations: 4 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.4599, allocations: 119.9 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4599, allocations: 3.938 kB / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.46, allocations: 0 / 1.328 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.46, allocations: 4 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.4602, allocations: 59.95 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.4612, allocations: 0.4926 MB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.4616, allocations: 134.6 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4617, allocations: 44.83 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.4617, allocations: 4 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.462, allocations: 111.3 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.462, allocations: 4 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0006779/0.4627, allocations: 230.9 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.4628, allocations: 55.41 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.4636, allocations: 0.5288 MB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4636, allocations: 29.7 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.4637, allocations: 164.5 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.4638, allocations: 43.72 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.4639, allocations: 73.92 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.4642, allocations: 350.8 kB / 1.33 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.4644, allocations: 104.5 kB / 1.33 GB, free: 9.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.4646, allocations: 131.6 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.465, allocations: 178.5 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.465, allocations: 0 / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006375/0.4656, allocations: 329.3 kB / 1.331 GB, free: 9.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4657, allocations: 7.938 kB / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4657, allocations: 0 / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.4657, allocations: 7.984 kB / 1.331 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.4659, allocations: 47.92 kB / 1.331 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4659, allocations: 7.938 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.4661, allocations: 23.94 kB / 1.331 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.4661, allocations: 8 kB / 1.331 GB, free: 9.008 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.0002572/0.4664, allocations: 194.6 kB / 1.331 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.4664, allocations: 39.7 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.4665, allocations: 35.25 kB / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4665, allocations: 4 kB / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4665, allocations: 0 / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4665, allocations: 0 / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.4669, allocations: 301.4 kB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4669, allocations: 4 kB / 1.331 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.467, allocations: 11.98 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.467, allocations: 11.88 kB / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.467, allocations: 0 / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.467, allocations: 0 / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.467, allocations: 4 kB / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.4674, allocations: 213.5 kB / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4675, allocations: 116.9 kB / 1.332 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.4676, allocations: 15.94 kB / 1.332 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.4677, allocations: 4 kB / 1.332 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.4677, allocations: 19.97 kB / 1.332 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4677, allocations: 8 kB / 1.332 GB, free: 7.949 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004169/0.4682, allocations: 323.1 kB / 1.332 GB, free: 7.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4682, allocations: 0 / 1.332 GB, free: 7.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003077/0.4685, allocations: 63.88 kB / 1.332 GB, free: 7.57 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.00162/0.4701, allocations: 420.2 kB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004376/0.4705, allocations: 187.8 kB / 1.333 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4705, allocations: 0 / 1.333 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.4707, allocations: 51.97 kB / 1.333 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.4712, allocations: 100.5 kB / 1.333 GB, free: 6.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.4721, allocations: 0.5657 MB / 1.333 GB, free: 6.398 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.4726, allocations: 0.7909 MB / 1.334 GB, free: 5.582 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.4727, allocations: 54.94 kB / 1.334 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.4728, allocations: 31.44 kB / 1.334 GB, free: 5.504 MB / 1.029 GB Notification: Performance of SimCode: time 6.62e-07/0.4728, allocations: 0 / 1.334 GB, free: 5.504 MB / 1.029 GB Notification: Performance of Templates: time 0.009517/0.4823, allocations: 4.187 MB / 1.338 GB, free: 1.348 MB / 1.029 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 -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/jenkins/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: 9.956742255017161]