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.001385/0.001385, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.0016/0.0016, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.448/1.448, allocations: 177.2 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.257/3.257, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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.282e-06/1.282e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.51e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002118/0.002143, allocations: 0.8997 MB / 0.8785 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.003754, allocations: 0.9288 MB / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.003821, allocations: 0 / 0.8794 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.003862, allocations: 7.875 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.003968, allocations: 19.73 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.004197, allocations: 47.94 kB / 0.8794 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.004382, allocations: 133.3 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.00451, allocations: 37.64 kB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.004727, allocations: 83.81 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.004828, allocations: 39.88 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.00486, allocations: 12.94 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.004916, allocations: 16 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.004964, allocations: 33.02 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.005023, allocations: 35.92 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.005284, allocations: 167.4 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005286, allocations: 1.125 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005287, allocations: 0 / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.005291, allocations: 0 / 0.88 GB, free: 4.039 MB / 0.8386 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.000668/0.005959, allocations: 358.7 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.005996, allocations: 13 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002657/0.006262, allocations: 36.86 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.006567, allocations: 156 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.006588, allocations: 12.36 kB / 0.8805 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.006612, allocations: 12.38 kB / 0.8805 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.006866, allocations: 99.34 kB / 0.8806 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.006885, allocations: 5.781 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.006903, allocations: 8 kB / 0.8806 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.006908, allocations: 3.938 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.007124, allocations: 73.3 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.007738, allocations: 312.2 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.008053, allocations: 79.62 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.008168, allocations: 42.5 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.008187, allocations: 0 / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.008219, allocations: 34.56 kB / 0.8812 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 3.657e-06/0.008223, allocations: 6.453 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004323/0.008655, allocations: 125.8 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.008706, allocations: 59.34 kB / 0.8814 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.008872, allocations: 143.9 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.008902, allocations: 29.7 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.009, allocations: 114 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.009033, allocations: 19.86 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.009093, allocations: 29.7 kB / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.009272, allocations: 322.8 kB / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.009376, allocations: 27.98 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.009533, allocations: 106.7 kB / 0.8821 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.009713, allocations: 66.02 kB / 0.8822 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009715, allocations: 0 / 0.8822 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002737/0.009989, allocations: 105.7 kB / 0.8823 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.01001, allocations: 11.98 kB / 0.8823 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01001, allocations: 0 / 0.8823 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.01003, allocations: 7.875 kB / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.01012, allocations: 8 kB / 0.8823 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.01013, allocations: 3.984 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.01024, allocations: 19.89 kB / 0.8823 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.01024, allocations: 0 / 0.8823 GB, free: 1.461 MB / 0.8386 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 0.0001167/0.01036, allocations: 125.8 kB / 0.8824 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.0104, allocations: 11.95 kB / 0.8825 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.01045, allocations: 16.78 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01046, allocations: 3.938 kB / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01046, allocations: 0 / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.01046, allocations: 0 / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.01067, allocations: 141.3 kB / 0.8826 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01067, allocations: 3.938 kB / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.695e-05/0.01076, allocations: 15.92 kB / 0.8826 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01076, allocations: 8 kB / 0.8826 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01077, allocations: 4 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01078, allocations: 0 / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.01078, allocations: 3.938 kB / 0.8826 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.01109, allocations: 195.5 kB / 0.8828 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.01111, allocations: 7.906 kB / 0.8828 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.01113, allocations: 4 kB / 0.8828 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01126, allocations: 7.984 kB / 0.8828 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.01132, allocations: 19.91 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01133, allocations: 11.98 kB / 0.8829 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.02e-05/0.01142, allocations: 104.4 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01142, allocations: 0 / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002616/0.01168, allocations: 23.94 kB / 0.883 GB, free: 0.7031 MB / 0.8386 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 0.0001323/0.01182, allocations: 107.6 kB / 0.8831 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.01207, allocations: 67.95 kB / 0.8832 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01207, allocations: 0 / 0.8832 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.01218, allocations: 39.91 kB / 0.8832 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.01248, allocations: 12.2 kB / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.01299, allocations: 220.1 kB / 0.8834 GB, free: 244 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.01309, allocations: 93.17 kB / 0.8835 GB, free: 132 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.704e-05/0.01315, allocations: 8 kB / 0.8835 GB, free: 124 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.0132, allocations: 20.48 kB / 0.8835 GB, free: 104 kB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.0132, allocations: 0 / 0.8835 GB, free: 104 kB / 0.8386 GB Notification: Performance of Templates: time 0.004164/0.01737, allocations: 1.123 MB / 0.8846 GB, free: 15 MB / 0.8542 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.006280203000642]