Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001017/0.001017, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009459/0.0009459, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8736/0.8736, allocations: 177.2 MB / 203.5 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.725/1.725, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.85e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001283/0.001302, allocations: 0.8066 MB / 0.983 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.002299, allocations: 1.178 MB / 0.9841 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.002345, allocations: 4 kB / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.002372, allocations: 3.938 kB / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.976e-05/0.002442, allocations: 19.78 kB / 0.9842 GB, free: 72 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.002806, allocations: 149.2 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.002955, allocations: 155.6 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.003048, allocations: 19.98 kB / 0.9845 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.003156, allocations: 83.86 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.003231, allocations: 39.92 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.003253, allocations: 16 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.975e-05/0.003303, allocations: 24 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.003326, allocations: 19.92 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.003373, allocations: 43.89 kB / 0.9847 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.003547, allocations: 167.6 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.003548, allocations: 4 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003549, allocations: 0 / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003553, allocations: 0 / 0.9848 GB, free: 15.37 MB / 0.948 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.0007028/0.004256, allocations: 359.7 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.00429, allocations: 12.03 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.004336, allocations: 8.891 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.6e-05/0.004412, allocations: 125.6 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.004425, allocations: 4.375 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.004445, allocations: 12.38 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.004598, allocations: 86.16 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004605, allocations: 192 / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.004618, allocations: 12.36 kB / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.004622, allocations: 384 / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.004734, allocations: 63.83 kB / 0.9855 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.005095, allocations: 296.3 kB / 0.9858 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/0.005193, allocations: 54.48 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.005244, allocations: 28.94 kB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.005254, allocations: 0 / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.005387, allocations: 91.31 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.005388, allocations: 0 / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002675/0.005656, allocations: 117.6 kB / 0.9861 GB, free: 13.99 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.005688, allocations: 59.34 kB / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.005769, allocations: 137.7 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.005789, allocations: 29.7 kB / 0.9863 GB, free: 13.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.005842, allocations: 96.09 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.005859, allocations: 15.89 kB / 0.9864 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.005912, allocations: 37.7 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.006005, allocations: 322.8 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.006116, allocations: 81.67 kB / 0.9868 GB, free: 13.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.006234, allocations: 138.8 kB / 0.9869 GB, free: 13.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.006373, allocations: 120.2 kB / 0.9871 GB, free: 12.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006375, allocations: 0 / 0.9871 GB, free: 12.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002414/0.006617, allocations: 225.2 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.006641, allocations: 37.7 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006646, allocations: 0 / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.006656, allocations: 4.062 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.006712, allocations: 19.97 kB / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.006718, allocations: 80 / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.006824, allocations: 35.95 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.006841, allocations: 15.97 kB / 0.9874 GB, free: 12.53 MB / 0.948 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 7.25e-05/0.006913, allocations: 129.7 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-06/0.006921, allocations: 11.95 kB / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.006945, allocations: 8.438 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.006947, allocations: 0 / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006951, allocations: 0 / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006954, allocations: 7.938 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.654e-05/0.00703, allocations: 129.2 kB / 0.9876 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007031, allocations: 96 / 0.9876 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.007057, allocations: 11.92 kB / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007059, allocations: 0 / 0.9877 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.007066, allocations: 4 kB / 0.9877 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007067, allocations: 0 / 0.9877 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007067, allocations: 4 kB / 0.9877 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.007211, allocations: 129 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.007218, allocations: 3.953 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.007235, allocations: 4 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.007265, allocations: 11.92 kB / 0.9878 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.007311, allocations: 15.97 kB / 0.9878 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.007316, allocations: 4 kB / 0.9878 GB, free: 12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.00735, allocations: 91.27 kB / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.00735, allocations: 4 kB / 0.9879 GB, free: 11.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000147/0.007497, allocations: 24 kB / 0.9879 GB, free: 11.89 MB / 0.948 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 9.925e-05/0.007596, allocations: 103.2 kB / 0.988 GB, free: 11.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.007826, allocations: 189 kB / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007827, allocations: 0 / 0.9882 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.468e-05/0.007892, allocations: 35.97 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.008034, allocations: 19.17 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.008311, allocations: 203 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.008354, allocations: 75.58 kB / 0.9885 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.008382, allocations: 16.5 kB / 0.9886 GB, free: 11.18 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/0.008382, allocations: 0 / 0.9886 GB, free: 11.18 MB / 0.948 GB Notification: Performance of Templates: time 0.002158/0.01054, allocations: 1.379 MB / 0.9899 GB, free: 9.816 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.748455939814448]