Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001287/0.001287, allocations: 78.88 kB / 19.76 MB, free: 2.031 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.00132/0.00132, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.393/1.393, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.806/2.806, allocations: 394.2 MB / 0.6387 GB, free: 11.93 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.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [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.002153/0.002153, allocations: 75.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8631, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002136/0.8652, allocations: 0.8877 MB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.8662, allocations: 0.9234 MB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.8663, allocations: 1.375 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.8663, allocations: 17.92 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.582e-05/0.8664, allocations: 15.88 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.8667, allocations: 46.62 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.8668, allocations: 126.2 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.8669, allocations: 37.66 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.8671, allocations: 56.83 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.8672, allocations: 52.69 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.8672, allocations: 16.95 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.8672, allocations: 19.69 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.8673, allocations: 31.44 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.8673, allocations: 52.44 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.8675, allocations: 156.3 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8675, allocations: 0 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8675, allocations: 1.031 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8675, allocations: 0 / 1.189 GB, free: 14.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005313/0.8681, allocations: 358.9 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.8681, allocations: 8.812 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.8683, allocations: 41.05 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.8686, allocations: 167.4 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8686, allocations: 8.406 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.8686, allocations: 9.969 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.8688, allocations: 101.9 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.8688, allocations: 0 / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.8688, allocations: 1.062 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8688, allocations: 2.906 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.869, allocations: 77.16 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.8695, allocations: 317 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.8697, allocations: 78.03 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/0.8698, allocations: 37.27 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.8698, allocations: 1.469 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.8699, allocations: 40.33 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.8699, allocations: 0 / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0003454/0.8702, allocations: 125.5 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.8702, allocations: 52.91 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.8703, allocations: 145.5 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.8703, allocations: 30.89 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.8704, allocations: 111.1 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.8704, allocations: 16.28 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.8704, allocations: 28.45 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.8705, allocations: 325.5 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.8706, allocations: 28.91 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.8707, allocations: 109.7 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.8709, allocations: 57.92 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8709, allocations: 1.609 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002161/0.8711, allocations: 120.5 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8711, allocations: 11.94 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.8711, allocations: 0 / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.8711, allocations: 1.906 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.8712, allocations: 12.48 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.8712, allocations: 0 / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.8713, allocations: 12.17 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.8713, allocations: 3.016 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.643e-05/0.8714, allocations: 121.5 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.8714, allocations: 16.33 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.8714, allocations: 16.75 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.8714, allocations: 1.188 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8714, allocations: 1.219 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8714, allocations: 0.7969 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.8716, allocations: 150.8 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8716, allocations: 0.6094 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.8717, allocations: 11.44 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8717, allocations: 4.641 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8717, allocations: 1.75 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.8717, allocations: 6.094 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8717, allocations: 4 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.8719, allocations: 196.3 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.8719, allocations: 8.531 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.8719, allocations: 9.891 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.872, allocations: 6.859 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.8721, allocations: 18.45 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.8721, allocations: 2.562 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.8722, allocations: 109.4 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8722, allocations: 96 / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002385/0.8724, allocations: 30.52 kB / 1.192 GB, free: 12.18 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 7.117e-05/0.8725, allocations: 97.02 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.8727, allocations: 74.78 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8727, allocations: 0 / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.8728, allocations: 33.44 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.8731, allocations: 12.17 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.8735, allocations: 222.5 kB / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.584e-05/0.8735, allocations: 98.88 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.8736, allocations: 14.89 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.8736, allocations: 15.48 kB / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.8736, allocations: 0 / 1.193 GB, free: 11.78 MB / 1.076 GB Notification: Performance of Templates: time 0.003961/0.8776, allocations: 1.082 MB / 1.194 GB, free: 11.66 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.47576763399411]