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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001708/0.001709, allocations: 112.5 kB / 16.42 MB, free: 6.406 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.001935/0.001935, allocations: 183.9 kB / 17.35 MB, free: 5.695 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.59/1.59, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 60.12 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7264, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002076/0.7285, allocations: 0.9232 MB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.7296, allocations: 0.8896 MB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.7297, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.7298, allocations: 11.81 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.7299, allocations: 15.8 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.7301, allocations: 47.94 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.7302, allocations: 123.6 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.7304, allocations: 61.48 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.7305, allocations: 51.78 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.7306, allocations: 51.77 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.7306, allocations: 12 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.337e-05/0.7307, allocations: 16 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.7307, allocations: 23.91 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.7308, allocations: 55.67 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.731, allocations: 167.2 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.731, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.731, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.731, allocations: 4 kB / 1.211 GB, free: 11.18 MB / 0.9356 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.0006176/0.7316, allocations: 428.8 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.7316, allocations: 8.031 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.7317, allocations: 20.69 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.732, allocations: 212.9 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.732, allocations: 8.375 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.732, allocations: 16.12 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.7323, allocations: 102.8 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7323, allocations: 4 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.7323, allocations: 4 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7323, allocations: 0 / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.7325, allocations: 67.95 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.7331, allocations: 400.4 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.7334, allocations: 78.61 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.7335, allocations: 40.83 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.7335, allocations: 4 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.7336, allocations: 42.5 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.7336, allocations: 0 / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.734, allocations: 133.7 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.734, allocations: 51.41 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.7341, allocations: 154.2 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.7342, allocations: 29.7 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.7342, allocations: 116.2 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.7343, allocations: 19.7 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.7343, allocations: 25.72 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7344, allocations: 322.8 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.7345, allocations: 27.98 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.7346, allocations: 54.55 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.7348, allocations: 64.8 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7348, allocations: 192 / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002366/0.7351, allocations: 109.5 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7351, allocations: 7.938 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7351, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.7351, allocations: 4 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.7352, allocations: 15.92 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7352, allocations: 8.062 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.7353, allocations: 11.94 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.7353, allocations: 3.984 kB / 1.213 GB, free: 8.41 MB / 0.9356 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 9.654e-05/0.7354, allocations: 121.8 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.7355, allocations: 15.75 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.7355, allocations: 16.72 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7355, allocations: 3.984 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7355, allocations: 0 / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.7356, allocations: 89 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.7356, allocations: 8 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.7357, allocations: 8 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.7358, allocations: 15.97 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000301/0.7361, allocations: 176.8 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002726/0.7364, allocations: 274.6 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.326e-05/0.7365, allocations: 35.98 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.113e-05/0.7366, allocations: 118.8 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of Backend: time 3.71e-07/0.7366, allocations: 0 / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.737, allocations: 122.3 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005952/0.7376, allocations: 0.6767 MB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of Templates: time 0.003754/0.7414, allocations: 1.36 MB / 1.216 GB, free: 5.285 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) 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) Reference file matches