Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008845/0.0008845, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.866/1.866, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0.875 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.125e-05, allocations: 2.812 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001626/0.001647, allocations: 0.9054 MB / 0.7609 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.002584, allocations: 0.959 MB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.002645, allocations: 0 / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.002681, allocations: 8.844 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.002788, allocations: 30.44 kB / 0.7619 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.002995, allocations: 40.88 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.003119, allocations: 138 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.003233, allocations: 39.95 kB / 0.7621 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.003428, allocations: 83.8 kB / 0.7622 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.003514, allocations: 43.88 kB / 0.7622 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.003535, allocations: 8 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.003584, allocations: 16.97 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.003609, allocations: 27.91 kB / 0.7623 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.003639, allocations: 27.92 kB / 0.7623 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.003774, allocations: 97.66 kB / 0.7624 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.003777, allocations: 0 / 0.7624 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.154e-06/0.003779, allocations: 3.984 kB / 0.7624 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003782, allocations: 0 / 0.7624 GB, free: 4.297 MB / 0.7136 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.0003742/0.004157, allocations: 321.1 kB / 0.7627 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.004188, allocations: 8.031 kB / 0.7627 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.004328, allocations: 29.66 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004456, allocations: 142.9 kB / 0.7629 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.004465, allocations: 4.375 kB / 0.7629 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.00448, allocations: 14.56 kB / 0.7629 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004594, allocations: 88.61 kB / 0.763 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.004601, allocations: 192 / 0.763 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.004613, allocations: 15.92 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004618, allocations: 0 / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.004654, allocations: 19.98 kB / 0.763 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.004957, allocations: 237.3 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.005075, allocations: 51.75 kB / 0.7633 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.005096, allocations: 12.86 kB / 0.7633 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.00511, allocations: 4 kB / 0.7633 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.005128, allocations: 31.97 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005129, allocations: 0 / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001238/0.005253, allocations: 65.66 kB / 0.7634 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.005282, allocations: 58.44 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.005356, allocations: 147.1 kB / 0.7636 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.005375, allocations: 33.7 kB / 0.7636 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.005418, allocations: 104.1 kB / 0.7637 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.005436, allocations: 15.91 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.005469, allocations: 29.69 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.005543, allocations: 318.8 kB / 0.7641 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.00556, allocations: 8 kB / 0.7641 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.005576, allocations: 14.69 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.005616, allocations: 28.81 kB / 0.7641 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005618, allocations: 0 / 0.7641 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.401e-05/0.005682, allocations: 57.62 kB / 0.7642 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.005693, allocations: 4 kB / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.005696, allocations: 0 / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005708, allocations: 3.984 kB / 0.7642 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.005751, allocations: 8 kB / 0.7642 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.005755, allocations: 9.188 kB / 0.7642 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.005787, allocations: 19.88 kB / 0.7642 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.005792, allocations: 0 / 0.7642 GB, free: 2.289 MB / 0.7136 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 5.736e-05/0.005849, allocations: 110.5 kB / 0.7643 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.005867, allocations: 8.5 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.005889, allocations: 23.83 kB / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00589, allocations: 0 / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005892, allocations: 0 / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.005896, allocations: 7.938 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.005997, allocations: 93.84 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005998, allocations: 0 / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.006022, allocations: 8 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006023, allocations: 3.938 kB / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.00603, allocations: 7.109 kB / 0.7645 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.006031, allocations: 0 / 0.7645 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006031, allocations: 0 / 0.7645 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.006122, allocations: 155.7 kB / 0.7646 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.006134, allocations: 15.94 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.00615, allocations: 0 / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.00619, allocations: 4 kB / 0.7646 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.006231, allocations: 15.97 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006236, allocations: 9.781 kB / 0.7646 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.006261, allocations: 38.64 kB / 0.7647 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006261, allocations: 0 / 0.7647 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001254/0.006387, allocations: 19.89 kB / 0.7647 GB, free: 1.742 MB / 0.7136 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 8.154e-05/0.006468, allocations: 85.31 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.348e-05/0.006542, allocations: 43.19 kB / 0.7648 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.006545, allocations: 4 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.006569, allocations: 20.84 kB / 0.7648 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.006708, allocations: 8 kB / 0.7649 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.007181, allocations: 223.3 kB / 0.7651 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.007217, allocations: 71.27 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.007251, allocations: 5.562 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.007309, allocations: 63.36 kB / 0.7652 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/0.00731, allocations: 0 / 0.7652 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of Templates: time 0.002739/0.01005, allocations: 1.112 MB / 0.7663 GB, free: 120 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.94661589898169]