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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00171/0.00171, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001695/0.001696, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 68.89 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7632, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002132/0.7654, allocations: 0.9093 MB / 1.084 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009768/0.7664, allocations: 0.8845 MB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.7665, allocations: 1.906 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.7665, allocations: 13.83 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.882e-05/0.7666, allocations: 19.41 kB / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.7668, allocations: 41.64 kB / 1.085 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.767, allocations: 121.9 kB / 1.085 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.7671, allocations: 54.27 kB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.7672, allocations: 56.44 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.7673, allocations: 57.2 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.7674, allocations: 13 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.517e-05/0.7674, allocations: 12.72 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.7674, allocations: 29.53 kB / 1.085 GB, free: 156 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.7675, allocations: 60.72 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.7677, allocations: 144.2 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7677, allocations: 4.938 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7677, allocations: 0 / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.7677, allocations: 0 / 1.085 GB, free: 52 kB / 0.8262 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.0006712/0.7684, allocations: 430.2 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7684, allocations: 10.41 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.7685, allocations: 19.45 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.7688, allocations: 217.3 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7688, allocations: 8.062 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.7689, allocations: 11.72 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.7691, allocations: 107.7 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.7691, allocations: 0 / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.7692, allocations: 8 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7692, allocations: 2.938 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.7694, allocations: 74.47 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.7701, allocations: 400.1 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.7703, allocations: 84.89 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.7705, allocations: 38.08 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.7705, allocations: 0.8125 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.7705, allocations: 40.92 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.7705, allocations: 0 / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003953/0.7709, allocations: 130.8 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.771, allocations: 57 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.7712, allocations: 155.9 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.7712, allocations: 32.02 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.7713, allocations: 110 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.7713, allocations: 21.7 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.7714, allocations: 23.3 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7715, allocations: 329.9 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.7716, allocations: 28.38 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.7718, allocations: 57.81 kB / 1.088 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.7719, allocations: 57.78 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7719, allocations: 1.344 kB / 1.088 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002487/0.7722, allocations: 112.9 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7722, allocations: 9.812 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.7722, allocations: 0 / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.7723, allocations: 1.125 kB / 1.088 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.7724, allocations: 16.75 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.7724, allocations: 0 / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.378e-05/0.7725, allocations: 12.33 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.7725, allocations: 3.453 kB / 1.088 GB, free: 13.98 MB / 0.8419 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 0.0001112/0.7726, allocations: 123.9 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.7727, allocations: 17.56 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.7727, allocations: 21.62 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7727, allocations: 1.312 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7727, allocations: 0 / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7727, allocations: 0.75 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.773, allocations: 212.8 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.773, allocations: 1.922 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.7731, allocations: 13.81 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7731, allocations: 5.906 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.7731, allocations: 1.562 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7731, allocations: 0.6562 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7731, allocations: 1.25 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.7734, allocations: 196.1 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.7735, allocations: 93.42 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.7735, allocations: 5.031 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.7736, allocations: 13.17 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.7737, allocations: 19.92 kB / 1.088 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7737, allocations: 3 kB / 1.088 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.7738, allocations: 121 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7738, allocations: 0 / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002368/0.7741, allocations: 22 kB / 1.089 GB, free: 13.23 MB / 0.8419 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 0.0001252/0.7742, allocations: 102.9 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.7745, allocations: 77.14 kB / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7745, allocations: 0 / 1.089 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.7746, allocations: 34.72 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.7749, allocations: 13.83 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.7755, allocations: 250 kB / 1.089 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.7758, allocations: 0.7129 MB / 1.09 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.7759, allocations: 14.59 kB / 1.09 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.7759, allocations: 0.875 kB / 1.09 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.003466/0.7793, allocations: 1.366 MB / 1.091 GB, free: 12.07 MB / 0.8419 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=400 -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