Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 176.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003561, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.775/0.7754, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002264/0.7777, allocations: 1.694 MB / 0.9574 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.7795, allocations: 1.158 MB / 0.9585 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.7797, allocations: 6.688 kB / 0.9585 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.7801, allocations: 150.4 kB / 0.9587 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.7804, allocations: 138 kB / 0.9588 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.7809, allocations: 204.7 kB / 0.959 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.7812, allocations: 294.2 kB / 0.9593 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.7814, allocations: 49.95 kB / 0.9593 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.7816, allocations: 126.3 kB / 0.9594 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.7818, allocations: 136.1 kB / 0.9596 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.7818, allocations: 5.5 kB / 0.9596 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.782, allocations: 50.03 kB / 0.9596 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.7821, allocations: 86.03 kB / 0.9597 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.7822, allocations: 135 kB / 0.9598 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.7825, allocations: 289.1 kB / 0.9601 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7825, allocations: 1.375 kB / 0.9601 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7825, allocations: 0 / 0.9601 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.7825, allocations: 0 / 0.9601 GB, free: 4.457 MB / 0.7169 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.0008287/0.7834, allocations: 0.5721 MB / 0.9607 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7834, allocations: 8.031 kB / 0.9607 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.7835, allocations: 32.12 kB / 0.9607 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.784, allocations: 375.2 kB / 0.9611 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.784, allocations: 12.34 kB / 0.9611 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.784, allocations: 4.812 kB / 0.9611 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.7843, allocations: 110.5 kB / 0.9612 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7843, allocations: 0 / 0.9612 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.7843, allocations: 4.891 kB / 0.9612 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.7843, allocations: 1.719 kB / 0.9612 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.7845, allocations: 59.5 kB / 0.9612 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.7853, allocations: 0.4929 MB / 0.9617 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.7856, allocations: 144.1 kB / 0.9619 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.7857, allocations: 56.48 kB / 0.9619 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.7858, allocations: 1.219 kB / 0.9619 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.7861, allocations: 116.7 kB / 0.962 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.7861, allocations: 0 / 0.962 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005522/0.7866, allocations: 220.7 kB / 0.9622 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.7867, allocations: 57.19 kB / 0.9623 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.7873, allocations: 0.5109 MB / 0.9628 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.7873, allocations: 32.14 kB / 0.9628 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.7874, allocations: 168.6 kB / 0.963 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.7875, allocations: 34.55 kB / 0.963 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.7875, allocations: 36.77 kB / 0.963 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.7876, allocations: 349.3 kB / 0.9634 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.7878, allocations: 96.67 kB / 0.9635 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.788, allocations: 139.6 kB / 0.9636 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.7884, allocations: 175.3 kB / 0.9638 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7884, allocations: 0 / 0.9638 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005633/0.7889, allocations: 326.6 kB / 0.9641 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.789, allocations: 8 kB / 0.9641 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.789, allocations: 3.938 kB / 0.9641 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.789, allocations: 2.125 kB / 0.9641 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.7892, allocations: 54.5 kB / 0.9642 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7893, allocations: 1.031 kB / 0.9642 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.7894, allocations: 15.44 kB / 0.9642 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.7894, allocations: 16.08 kB / 0.9642 GB, free: 1.32 MB / 0.7169 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.0001736/0.7896, allocations: 174.8 kB / 0.9643 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.7897, allocations: 37.47 kB / 0.9644 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.7898, allocations: 41.25 kB / 0.9644 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.7898, allocations: 2.188 kB / 0.9644 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7898, allocations: 0 / 0.9644 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7898, allocations: 5.219 kB / 0.9644 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.7901, allocations: 295.5 kB / 0.9647 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7901, allocations: 1.188 kB / 0.9647 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.7902, allocations: 16.64 kB / 0.9647 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.7902, allocations: 1.531 kB / 0.9647 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.7902, allocations: 9 kB / 0.9647 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7902, allocations: 5.5 kB / 0.9647 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7902, allocations: 0 / 0.9647 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.7906, allocations: 214 kB / 0.9649 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.7907, allocations: 118.6 kB / 0.9651 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.7907, allocations: 6.219 kB / 0.9651 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.7908, allocations: 12.11 kB / 0.9651 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.7909, allocations: 15.48 kB / 0.9651 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.7909, allocations: 13.86 kB / 0.9651 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003537/0.7913, allocations: 317.1 kB / 0.9654 GB, free: 352 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7913, allocations: 0 / 0.9654 GB, free: 352 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003124/0.7916, allocations: 57.02 kB / 0.9655 GB, free: 340 kB / 0.7169 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.001039/0.7926, allocations: 414.2 kB / 0.9659 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.7931, allocations: 192.1 kB / 0.966 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7931, allocations: 5.062 kB / 0.966 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.7932, allocations: 61.47 kB / 0.9661 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.7938, allocations: 80.02 kB / 0.9662 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.7948, allocations: 0.6348 MB / 0.9668 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.7953, allocations: 0.797 MB / 0.9676 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.7954, allocations: 30.95 kB / 0.9676 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7954, allocations: 0 / 0.9676 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.008249/0.8036, allocations: 4.342 MB / 0.9719 GB, free: 12.55 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches