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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001123/0.001123, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00178/0.00178, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.027/3.027, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005034, allocations: 8.406 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4318, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001279/0.4331, allocations: 0.6002 MB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.4342, allocations: 0.8819 MB / 1.059 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.4343, allocations: 3.938 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.4343, allocations: 11.92 kB / 1.059 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.4344, allocations: 11.88 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.4346, allocations: 31.95 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.4348, allocations: 111.7 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.435, allocations: 37.5 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4351, allocations: 39.83 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4352, allocations: 43.72 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.4352, allocations: 8 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.4352, allocations: 4 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.4353, allocations: 15.92 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.4353, allocations: 45.64 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.4355, allocations: 111.9 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4355, allocations: 0 / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4355, allocations: 0 / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.4355, allocations: 0 / 1.06 GB, free: 3.336 MB / 0.8106 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.0006514/0.4362, allocations: 418.9 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.4362, allocations: 12.03 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.4363, allocations: 7.906 kB / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.4367, allocations: 216.1 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.4367, allocations: 15.94 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4367, allocations: 12 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.437, allocations: 110.9 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.437, allocations: 0 / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.4371, allocations: 4 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4371, allocations: 0 / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.4373, allocations: 87.91 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000666/0.438, allocations: 400.5 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.4383, allocations: 94.52 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.4384, allocations: 44.91 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.4385, allocations: 4 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4385, allocations: 34.56 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4385, allocations: 0 / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003875/0.4389, allocations: 137.4 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.4389, allocations: 55.34 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.4391, allocations: 164.2 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4391, allocations: 29.7 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.4392, allocations: 108.3 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.4392, allocations: 23.64 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.4393, allocations: 4 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4394, allocations: 322.8 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.4395, allocations: 31.98 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4396, allocations: 62.55 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.4397, allocations: 27.98 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4397, allocations: 4 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002173/0.4399, allocations: 113.5 kB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.44, allocations: 4 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.44, allocations: 0 / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.44, allocations: 0 / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4401, allocations: 19.92 kB / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4401, allocations: 0 / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.4402, allocations: 28.22 kB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.4402, allocations: 0 / 1.062 GB, free: 0.5703 MB / 0.8106 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.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.4403, allocations: 124.5 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.4404, allocations: 15.75 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.4404, allocations: 16.7 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4404, allocations: 0 / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4404, allocations: 0 / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4404, allocations: 3.938 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.4407, allocations: 221.7 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4407, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.876e-05/0.4408, allocations: 15.98 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4408, allocations: 0 / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4408, allocations: 3.984 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4408, allocations: 0 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4408, allocations: 0 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.4411, allocations: 207.3 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.4412, allocations: 92.86 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.4412, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4414, allocations: 11.98 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.4414, allocations: 11.97 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4415, allocations: 8 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.331e-05/0.4416, allocations: 120.1 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4416, allocations: 0 / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002295/0.4418, allocations: 20 kB / 1.063 GB, free: 15.62 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.4419, allocations: 103.2 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.4422, allocations: 87.89 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4422, allocations: 4 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.4423, allocations: 39.97 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4426, allocations: 13.36 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.4431, allocations: 251.4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4434, allocations: 0.7043 MB / 1.064 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.211e-05/0.4435, allocations: 8.672 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.4435, allocations: 15.42 kB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4435, allocations: 3.938 kB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.003474/0.447, allocations: 0.9566 MB / 1.065 GB, free: 13.39 MB / 0.8262 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/jenkins/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