Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001541/0.001541, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6318/0.633, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002013/0.6351, allocations: 0.9323 MB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008059/0.6359, allocations: 0.8683 MB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.636, allocations: 9.062 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.6361, allocations: 3.938 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.6362, allocations: 18.44 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.6363, allocations: 27.89 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.6364, allocations: 105.5 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.6366, allocations: 53.56 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.6367, allocations: 38.97 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.6368, allocations: 45.53 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.6368, allocations: 4.125 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.6368, allocations: 5.5 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.6368, allocations: 22.64 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.6369, allocations: 42.73 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.517e-05/0.637, allocations: 91.66 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.637, allocations: 1.375 kB / 0.9518 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.637, allocations: 3.938 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.637, allocations: 4 kB / 0.9518 GB, free: 7.41 MB / 0.7169 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.0007899/0.6378, allocations: 470 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6379, allocations: 9.625 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.6379, allocations: 10.34 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.638, allocations: 187 kB / 0.9525 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.638, allocations: 7.125 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.6381, allocations: 4.5 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.6383, allocations: 96.05 kB / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6383, allocations: 1.625 kB / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.6383, allocations: 7.938 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6383, allocations: 2.438 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.6385, allocations: 64.28 kB / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.6391, allocations: 412.4 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.6393, allocations: 63.42 kB / 0.9531 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.6394, allocations: 31.66 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.6394, allocations: 0 / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.6394, allocations: 31.94 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.6394, allocations: 0 / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003284/0.6397, allocations: 111.7 kB / 0.9532 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.6398, allocations: 60.7 kB / 0.9533 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.6399, allocations: 154.8 kB / 0.9535 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.6399, allocations: 27.05 kB / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.64, allocations: 105.4 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.64, allocations: 13.47 kB / 0.9536 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.64, allocations: 23.34 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.6401, allocations: 322 kB / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.6402, allocations: 31.23 kB / 0.954 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.6402, allocations: 27.95 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.6404, allocations: 45.05 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6404, allocations: 4.188 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001866/0.6406, allocations: 108.8 kB / 0.9541 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6406, allocations: 5.344 kB / 0.9541 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6406, allocations: 4 kB / 0.9541 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6406, allocations: 4 kB / 0.9541 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.6407, allocations: 10.77 kB / 0.9542 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6407, allocations: 3.938 kB / 0.9542 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.6409, allocations: 26.66 kB / 0.9542 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.6409, allocations: 1.406 kB / 0.9542 GB, free: 5.223 MB / 0.7169 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 6.843e-05/0.641, allocations: 123.6 kB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.641, allocations: 8.188 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.6411, allocations: 13.75 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6411, allocations: 9.359 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.6411, allocations: 3.938 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.6411, allocations: 1.406 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6412, allocations: 198.9 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6412, allocations: 0 / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.6413, allocations: 10.16 kB / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6413, allocations: 4.906 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6413, allocations: 3.984 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6413, allocations: 1.344 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6414, allocations: 3.938 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.6416, allocations: 186.4 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.6416, allocations: 87.61 kB / 0.9548 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.6416, allocations: 4 kB / 0.9548 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.6418, allocations: 25.69 kB / 0.9548 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.6419, allocations: 19.02 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.6419, allocations: 5.203 kB / 0.9549 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.6419, allocations: 108.9 kB / 0.955 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.642, allocations: 0 / 0.955 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002276/0.6422, allocations: 17.44 kB / 0.955 GB, free: 4.449 MB / 0.7169 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 8.864e-05/0.6423, allocations: 108.9 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.6425, allocations: 60.38 kB / 0.9551 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6425, allocations: 1.219 kB / 0.9551 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/0.6426, allocations: 43.3 kB / 0.9552 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.6429, allocations: 7.797 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.6433, allocations: 248.2 kB / 0.9554 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.6435, allocations: 0.7012 MB / 0.9561 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.6435, allocations: 11.31 kB / 0.9561 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6435, allocations: 0 / 0.9561 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of Templates: time 0.002615/0.6462, allocations: 1.286 MB / 0.9574 GB, free: 2.703 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches