Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007732/0.007732, allocations: 98.3 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.83 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8603, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002008/0.8624, allocations: 0.8733 MB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.8634, allocations: 0.8817 MB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.8634, allocations: 4 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.8635, allocations: 7.875 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.047e-05/0.8636, allocations: 11.81 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.8638, allocations: 43.95 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.8639, allocations: 107.7 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.864, allocations: 49.08 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.8641, allocations: 43.8 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.8642, allocations: 51.75 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.8643, allocations: 12 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.8643, allocations: 12 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.8643, allocations: 19.92 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.8644, allocations: 47.73 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.8645, allocations: 132 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.8645, allocations: 0 / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8645, allocations: 4 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.8646, allocations: 0 / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008393/0.8654, allocations: 466.8 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.8654, allocations: 8.922 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.8655, allocations: 16.84 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.8656, allocations: 186.3 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.8656, allocations: 8.312 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.8657, allocations: 12.38 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.8659, allocations: 90.2 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.8659, allocations: 4.125 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.8659, allocations: 7.938 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.8659, allocations: 4 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.8661, allocations: 67.95 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.8668, allocations: 400.5 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.867, allocations: 58.55 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.8671, allocations: 36.97 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.8671, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.8672, allocations: 34.56 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.8672, allocations: 4 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.00036/0.8675, allocations: 109.5 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.8676, allocations: 51.41 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8677, allocations: 168.5 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.8677, allocations: 25.7 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.8678, allocations: 108.2 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.8678, allocations: 15.84 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.8679, allocations: 25.7 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.868, allocations: 318.8 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.8681, allocations: 35.95 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.322e-05/0.8681, allocations: 31.98 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.8683, allocations: 48.83 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8683, allocations: 0 / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002107/0.8685, allocations: 93.56 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.8685, allocations: 4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.8685, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.8686, allocations: 256 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.8687, allocations: 15.98 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8687, allocations: 7.938 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.8689, allocations: 31.92 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.8689, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 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 (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 prepare postOptimizeDAE: time 8.336e-05/0.869, allocations: 119.5 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.869, allocations: 15.94 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.869, allocations: 16.25 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.8691, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8691, allocations: 11.88 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8691, allocations: 0 / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.8693, allocations: 197.5 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8693, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.8693, allocations: 15.98 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8694, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.8694, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8694, allocations: 4 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8694, allocations: 3.938 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.8696, allocations: 179.5 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.8697, allocations: 93.02 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.8697, allocations: 0 / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.8699, allocations: 23.97 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.87, allocations: 23.91 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.87, allocations: 0 / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.894e-05/0.8701, allocations: 119.2 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8701, allocations: 0 / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000229/0.8703, allocations: 12 kB / 1.172 GB, free: 13.93 MB / 0.9044 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 (5): * Single equations (assignments): 5 * 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 9.848e-05/0.8704, allocations: 107.2 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.8706, allocations: 59.97 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8706, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.8708, allocations: 39.91 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.8711, allocations: 12.12 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.8715, allocations: 218.2 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.8717, allocations: 0.6963 MB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.162e-05/0.8718, allocations: 7.969 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.8718, allocations: 11.44 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.8718, allocations: 8 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of Templates: time 0.003486/0.8753, allocations: 1.357 MB / 1.174 GB, free: 11.37 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches