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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009434/0.0009436, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00676/0.006761, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6442/0.6445, allocations: 142.4 MB / 0.9551 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0008799/0.6455, allocations: 0.5885 MB / 0.9556 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007776/0.6462, allocations: 0.8634 MB / 0.9565 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.6463, allocations: 5.281 kB / 0.9565 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.6463, allocations: 3.938 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.6464, allocations: 14.42 kB / 0.9565 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.6466, allocations: 33.06 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.6467, allocations: 104.4 kB / 0.9566 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.6468, allocations: 44.73 kB / 0.9567 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.6469, allocations: 38.94 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.647, allocations: 39.08 kB / 0.9567 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.647, allocations: 3.406 kB / 0.9567 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.6471, allocations: 3.531 kB / 0.9567 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.6471, allocations: 14.23 kB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.6471, allocations: 58.62 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.6473, allocations: 112.5 kB / 0.9569 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6473, allocations: 4 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6473, allocations: 1.125 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6473, allocations: 11.88 kB / 0.9569 GB, free: 6.176 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.0007629/0.6481, allocations: 460.8 kB / 0.9574 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6481, allocations: 8.844 kB / 0.9574 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.6481, allocations: 18.38 kB / 0.9574 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.6483, allocations: 188.6 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6483, allocations: 3.5 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.6483, allocations: 9.219 kB / 0.9576 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.6485, allocations: 100.3 kB / 0.9577 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6485, allocations: 192 / 0.9577 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6485, allocations: 3.938 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6486, allocations: 6.656 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.6487, allocations: 74.88 kB / 0.9578 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.6494, allocations: 417 kB / 0.9582 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.6496, allocations: 69.86 kB / 0.9582 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.6497, allocations: 36.22 kB / 0.9583 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.6497, allocations: 0 / 0.9583 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.057e-05/0.6497, allocations: 32.62 kB / 0.9583 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.6497, allocations: 4 kB / 0.9583 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003438/0.6501, allocations: 130.2 kB / 0.9584 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.6501, allocations: 52.84 kB / 0.9585 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.6502, allocations: 156.3 kB / 0.9586 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.6502, allocations: 33.69 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.6503, allocations: 102.2 kB / 0.9588 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.6503, allocations: 17.41 kB / 0.9588 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.6503, allocations: 16.44 kB / 0.9588 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.6504, allocations: 320.9 kB / 0.9591 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.6505, allocations: 31.42 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.6506, allocations: 39.72 kB / 0.9592 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.6507, allocations: 53.52 kB / 0.9592 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6507, allocations: 0 / 0.9592 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002004/0.6509, allocations: 116.6 kB / 0.9593 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6509, allocations: 4.125 kB / 0.9593 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.6509, allocations: 0 / 0.9593 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.651, allocations: 1.375 kB / 0.9593 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.6511, allocations: 10.86 kB / 0.9593 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.6511, allocations: 9.25 kB / 0.9594 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.6513, allocations: 36.59 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.6513, allocations: 1.375 kB / 0.9594 GB, free: 3.988 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 7.004e-05/0.6513, allocations: 115.3 kB / 0.9595 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.6514, allocations: 8.031 kB / 0.9595 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.6514, allocations: 19.06 kB / 0.9595 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6514, allocations: 1.375 kB / 0.9595 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6514, allocations: 7.922 kB / 0.9595 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.6514, allocations: 1.625 kB / 0.9595 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.6516, allocations: 199.4 kB / 0.9597 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6516, allocations: 7.938 kB / 0.9597 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.6517, allocations: 8.25 kB / 0.9597 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6517, allocations: 0 / 0.9597 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.6517, allocations: 9.359 kB / 0.9598 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6517, allocations: 0 / 0.9598 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6517, allocations: 7.938 kB / 0.9598 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.652, allocations: 182.1 kB / 0.9599 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.652, allocations: 94.31 kB / 0.96 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.652, allocations: 1.375 kB / 0.96 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.6522, allocations: 32.59 kB / 0.9601 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.6523, allocations: 17.42 kB / 0.9601 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.6523, allocations: 5.359 kB / 0.9601 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.107e-05/0.6524, allocations: 112.7 kB / 0.9602 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.062e-06/0.6524, allocations: 4 kB / 0.9602 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002361/0.6526, allocations: 16.31 kB / 0.9602 GB, free: 3.211 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 0.0001089/0.6527, allocations: 105 kB / 0.9603 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.653, allocations: 72.69 kB / 0.9604 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.653, allocations: 4 kB / 0.9604 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.6531, allocations: 40.33 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.6535, allocations: 12.23 kB / 0.9604 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.6538, allocations: 236.4 kB / 0.9607 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.654, allocations: 0.7018 MB / 0.9613 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.445e-05/0.654, allocations: 15.42 kB / 0.9614 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.6541, allocations: 11.25 kB / 0.9614 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6541, allocations: 0 / 0.9614 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.003301/0.6574, allocations: 1.107 MB / 0.9624 GB, free: 1.566 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/jenkins/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