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.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.001582/0.001582, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001339/0.001339, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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 0.9635/0.9635, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.35/2.35, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.571e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001564/0.00158, allocations: 0.9547 MB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000894/0.002474, allocations: 0.9482 MB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.002529, allocations: 3.938 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.002567, allocations: 11.86 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.002654, allocations: 23.73 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.002815, allocations: 47.88 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.002927, allocations: 127.6 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.003027, allocations: 38.34 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.003199, allocations: 91.73 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.003274, allocations: 35.89 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.003292, allocations: 12 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.003346, allocations: 19.98 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.003365, allocations: 23.92 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.003392, allocations: 31.91 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.003522, allocations: 103.5 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003523, allocations: 0 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003524, allocations: 0 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.003528, allocations: 0 / 0.841 GB, free: 11.66 MB / 0.8073 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.0003297/0.003857, allocations: 324.4 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.003885, allocations: 8.625 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.004011, allocations: 28.91 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.004136, allocations: 146.1 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.004146, allocations: 8.375 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.004156, allocations: 8.375 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.004263, allocations: 82.91 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004269, allocations: 192 / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004279, allocations: 15.94 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.004284, allocations: 0 / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.004318, allocations: 19.98 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.004593, allocations: 228 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.004698, allocations: 58.42 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.004718, allocations: 12.86 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.004731, allocations: 7.984 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.004748, allocations: 30.56 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.004749, allocations: 4 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001122/0.004861, allocations: 57.69 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.004885, allocations: 51.41 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.004953, allocations: 152.9 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.004971, allocations: 33.7 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.005008, allocations: 107.8 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.005029, allocations: 27.78 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.00506, allocations: 25.7 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.005131, allocations: 318.8 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.005145, allocations: 8 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.00516, allocations: 15.98 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.005198, allocations: 24.83 kB / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.005199, allocations: 0 / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.215e-05/0.005261, allocations: 61.62 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.005271, allocations: 7.984 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.005275, allocations: 0 / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005286, allocations: 0 / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.056e-05/0.005327, allocations: 8 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.005331, allocations: 3.938 kB / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.005359, allocations: 11.98 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.005365, allocations: 8 kB / 0.8428 GB, free: 9.633 MB / 0.8073 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.935e-05/0.005424, allocations: 117.8 kB / 0.843 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.005445, allocations: 11.98 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.005463, allocations: 8.781 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005465, allocations: 4 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.005467, allocations: 0 / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.005472, allocations: 3.938 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.62e-05/0.005568, allocations: 97.8 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005569, allocations: 0 / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.005597, allocations: 11.98 kB / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005599, allocations: 8 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.005605, allocations: 3.938 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005605, allocations: 0 / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005606, allocations: 0 / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.366e-05/0.005689, allocations: 155.4 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.005701, allocations: 15.88 kB / 0.8433 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.005716, allocations: 0 / 0.8433 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.005756, allocations: 4 kB / 0.8433 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.005796, allocations: 19.95 kB / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.0058, allocations: 4 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.209e-05/0.005822, allocations: 33.91 kB / 0.8433 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005822, allocations: 0 / 0.8433 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001261/0.005949, allocations: 19.95 kB / 0.8433 GB, free: 9.082 MB / 0.8073 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 6.75e-05/0.006016, allocations: 84.41 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.768e-05/0.006084, allocations: 32.78 kB / 0.8435 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.006086, allocations: 4 kB / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.006111, allocations: 20.84 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.006236, allocations: 8 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.006676, allocations: 236.4 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.006711, allocations: 67.28 kB / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.006744, allocations: 4 kB / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.006797, allocations: 59.36 kB / 0.8438 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.006797, allocations: 4 kB / 0.8438 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of Templates: time 0.002457/0.009254, allocations: 1.134 MB / 0.8449 GB, free: 7.395 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.026570262853056]