Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001333/0.001333, allocations: 82.33 kB / 19.77 MB, free: 2.016 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.001445/0.001445, allocations: 152.3 kB / 23.01 MB, free: 4.965 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.409/1.409, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.946/2.946, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [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.002022/0.002022, allocations: 68.06 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9218/0.9238, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002096/0.9259, allocations: 0.8047 MB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.9272, allocations: 1.172 MB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.9273, allocations: 0 / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.9273, allocations: 6.625 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.156e-05/0.9274, allocations: 14.64 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.9278, allocations: 147.6 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.928, allocations: 146 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.9281, allocations: 32.55 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.9282, allocations: 59.62 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.9283, allocations: 54.09 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.9283, allocations: 14.16 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.926e-05/0.9284, allocations: 23.09 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.9284, allocations: 18.16 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.9285, allocations: 53.14 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.9287, allocations: 145.1 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.9287, allocations: 0.5156 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9287, allocations: 1.094 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.9288, allocations: 3.938 kB / 1.189 GB, free: 14.56 MB / 1.076 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.0005603/0.9293, allocations: 360.7 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.9293, allocations: 9.844 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.9294, allocations: 12.73 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.786e-05/0.9295, allocations: 115.8 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.9295, allocations: 8.984 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.9295, allocations: 9.406 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.9297, allocations: 83.12 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9297, allocations: 192 / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.9297, allocations: 6.375 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.9298, allocations: 5.031 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.93, allocations: 63.44 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.9304, allocations: 301.2 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.9306, allocations: 52.67 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.9307, allocations: 26.73 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.9307, allocations: 5.281 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.9309, allocations: 85.66 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.9309, allocations: 0 / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0004397/0.9313, allocations: 126.9 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.9314, allocations: 57.48 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.9314, allocations: 127.2 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.9315, allocations: 29.25 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.9315, allocations: 108.4 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.9315, allocations: 10.42 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.9316, allocations: 39.98 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.9316, allocations: 322.7 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.9318, allocations: 81.45 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.932, allocations: 140.3 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.9322, allocations: 121.2 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9322, allocations: 0 / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004153/0.9326, allocations: 224.9 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.9327, allocations: 38.56 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.9327, allocations: 1.125 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9327, allocations: 2.156 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.9328, allocations: 8.469 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.9328, allocations: 9.953 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.933, allocations: 39.47 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.9331, allocations: 11.16 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.924e-05/0.9331, allocations: 121.3 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.9331, allocations: 8.281 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.9332, allocations: 10.27 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.9332, allocations: 1.406 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.9332, allocations: 0.7031 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.9332, allocations: 5.094 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.9333, allocations: 129.9 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9333, allocations: 0 / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.9333, allocations: 8.234 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.9333, allocations: 1.125 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.9333, allocations: 6.5 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9333, allocations: 0 / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9333, allocations: 0 / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.9336, allocations: 139.2 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.9336, allocations: 11.61 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.9336, allocations: 2.234 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.9337, allocations: 8.953 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.9338, allocations: 13.39 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.9338, allocations: 3.328 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.9338, allocations: 92.86 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9338, allocations: 0 / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002282/0.934, allocations: 25.16 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001126/0.9341, allocations: 108.2 kB / 1.192 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.9345, allocations: 189.9 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9345, allocations: 1.062 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.9346, allocations: 33.11 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.9348, allocations: 13.78 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.9352, allocations: 194 kB / 1.193 GB, free: 11.63 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.128e-05/0.9352, allocations: 75.2 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.9353, allocations: 8.641 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.9353, allocations: 17.36 kB / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.9353, allocations: 0 / 1.193 GB, free: 11.55 MB / 1.076 GB Notification: Performance of Templates: time 0.004935/0.9402, allocations: 1.782 MB / 1.195 GB, free: 11.34 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.674811730976216]