Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001668/0.001668, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002008/0.002008, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.678/1.678, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 475.9 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002162/0.002162, allocations: 68.45 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4174, allocations: 169.9 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004065/0.4214, allocations: 1.978 MB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.424, allocations: 1.282 MB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.4242, allocations: 7.938 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.4247, allocations: 163.4 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.4252, allocations: 207.2 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.4256, allocations: 163.6 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.4261, allocations: 343 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.4262, allocations: 40.84 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.4265, allocations: 147.4 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.4267, allocations: 167.3 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.4268, allocations: 16 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.4269, allocations: 55.97 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.4271, allocations: 95.61 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4272, allocations: 99.33 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.4277, allocations: 394.3 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4277, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4277, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4277, allocations: 3.938 kB / 1.288 GB, free: 6.773 MB / 0.9825 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.001065/0.4288, allocations: 0.5702 MB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4288, allocations: 12.03 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.4289, allocations: 36.7 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.4295, allocations: 320.5 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.4295, allocations: 8 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.4295, allocations: 8 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.4298, allocations: 111.9 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4298, allocations: 0 / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.4298, allocations: 11.94 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4298, allocations: 3.984 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.43, allocations: 63.95 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.4309, allocations: 424.2 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.4313, allocations: 134.7 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4314, allocations: 44.83 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4314, allocations: 4 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.4317, allocations: 117.8 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.4317, allocations: 0 / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006038/0.4323, allocations: 245.3 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.4323, allocations: 51.41 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.433, allocations: 0.5327 MB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.433, allocations: 29.7 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.4332, allocations: 172.4 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.4333, allocations: 39.73 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4334, allocations: 69.92 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4336, allocations: 350.8 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.4338, allocations: 104.5 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.434, allocations: 143.6 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.4344, allocations: 192.2 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4344, allocations: 0 / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005938/0.435, allocations: 333.3 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.435, allocations: 4 kB / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.435, allocations: 0 / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.4351, allocations: 12 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.4353, allocations: 47.91 kB / 1.292 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4353, allocations: 4 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.4355, allocations: 15.94 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.4355, allocations: 12 kB / 1.292 GB, free: 2.418 MB / 0.9825 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.0002118/0.4357, allocations: 193.7 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.4358, allocations: 39.7 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.4362, allocations: 214.8 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4362, allocations: 4 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4362, allocations: 0 / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4363, allocations: 4 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.4365, allocations: 233.1 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4365, allocations: 0 / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.4366, allocations: 12 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4366, allocations: 0 / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.4366, allocations: 11.97 kB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4366, allocations: 7.938 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4366, allocations: 0 / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.4371, allocations: 228.7 kB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.4372, allocations: 35.77 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.4372, allocations: 11.98 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.4373, allocations: 7.938 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.4374, allocations: 19.97 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.4374, allocations: 11.98 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003822/0.4378, allocations: 323.1 kB / 1.293 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4378, allocations: 0 / 1.293 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003264/0.4381, allocations: 63.89 kB / 1.293 GB, free: 0.9688 MB / 0.9825 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.001747/0.4398, allocations: 457.5 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.4403, allocations: 191.8 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4403, allocations: 0 / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.4405, allocations: 55.97 kB / 1.294 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.441, allocations: 97.67 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.442, allocations: 0.5547 MB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.4422, allocations: 191.9 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000149/0.4423, allocations: 54.95 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.4424, allocations: 35.42 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.4424, allocations: 0 / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of Templates: time 0.01029/0.4527, allocations: 4.736 MB / 1.3 GB, free: 10.83 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.953385984525084]