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.0008716/0.0008716, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009143/0.0009143, allocations: 173 kB / 23.03 MB, free: 1.547 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.8614/0.8614, allocations: 177.2 MB / 203.4 MB, free: 5.633 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 1.988/1.988, allocations: 429.5 MB / 0.6733 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] 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.393e-06/1.393e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.293e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001543/0.001566, allocations: 0.9248 MB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.002503, allocations: 0.9386 MB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.002563, allocations: 4 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.002603, allocations: 13.58 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.002692, allocations: 19.73 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.00291, allocations: 51.83 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.00304, allocations: 136.5 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.003153, allocations: 29.72 kB / 0.8802 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.00336, allocations: 83.8 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.003445, allocations: 45 kB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.003467, allocations: 12 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.003511, allocations: 13.12 kB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.003536, allocations: 27.91 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.003569, allocations: 31.92 kB / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.003725, allocations: 92.64 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.003727, allocations: 0 / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003728, allocations: 0 / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.003733, allocations: 0.9375 kB / 0.8805 GB, free: 3.91 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.0004216/0.004155, allocations: 456.5 kB / 0.881 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.00419, allocations: 8.031 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.004342, allocations: 38.67 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.004503, allocations: 159 kB / 0.8812 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.004514, allocations: 4.375 kB / 0.8812 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.004529, allocations: 16.31 kB / 0.8812 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.004679, allocations: 96.2 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004688, allocations: 4.188 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.0047, allocations: 3.938 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.004707, allocations: 1.094 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.004768, allocations: 32.48 kB / 0.8813 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.00517, allocations: 360.1 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.00534, allocations: 64.7 kB / 0.8817 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.005382, allocations: 27.67 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.005396, allocations: 0 / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.005418, allocations: 39.89 kB / 0.8818 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.005419, allocations: 0 / 0.8818 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001971/0.005616, allocations: 81.88 kB / 0.8819 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.005645, allocations: 55.41 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.005745, allocations: 204 kB / 0.8821 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.005764, allocations: 29.69 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.005827, allocations: 154.8 kB / 0.8823 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.005848, allocations: 21.89 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.005887, allocations: 35.36 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.006004, allocations: 0.4923 MB / 0.8828 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.006034, allocations: 8 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.00606, allocations: 11.98 kB / 0.8828 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.006126, allocations: 32.34 kB / 0.8829 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.006128, allocations: 0 / 0.8829 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001065/0.006235, allocations: 75.23 kB / 0.8829 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.006251, allocations: 4 kB / 0.8829 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006255, allocations: 0 / 0.8829 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.006271, allocations: 7.938 kB / 0.883 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.00633, allocations: 13.08 kB / 0.883 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.006335, allocations: 0 / 0.883 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.006369, allocations: 11.89 kB / 0.883 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.006377, allocations: 7.984 kB / 0.883 GB, free: 1.207 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 7.398e-05/0.006451, allocations: 160.6 kB / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.00647, allocations: 7.953 kB / 0.8831 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.006498, allocations: 16.78 kB / 0.8832 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.006501, allocations: 7.875 kB / 0.8832 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.006505, allocations: 0 / 0.8832 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006507, allocations: 0 / 0.8832 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.006628, allocations: 156.6 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.00663, allocations: 0 / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.006668, allocations: 15.92 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.006672, allocations: 7.984 kB / 0.8833 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.006679, allocations: 0 / 0.8833 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.006681, allocations: 4 kB / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.006683, allocations: 7.938 kB / 0.8833 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.006819, allocations: 211.9 kB / 0.8836 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.006832, allocations: 11.91 kB / 0.8836 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.006852, allocations: 0 / 0.8836 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.006899, allocations: 8 kB / 0.8836 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.006952, allocations: 19.89 kB / 0.8836 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.006958, allocations: 8 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.007011, allocations: 147.2 kB / 0.8837 GB, free: 368 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.007011, allocations: 0 / 0.8837 GB, free: 368 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001639/0.007175, allocations: 19.88 kB / 0.8838 GB, free: 348 kB / 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 9.045e-05/0.007266, allocations: 103.2 kB / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.007379, allocations: 40.06 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007381, allocations: 0 / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.00742, allocations: 39.59 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.00763, allocations: 12.56 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.008216, allocations: 230.2 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.008256, allocations: 63.34 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.059e-05/0.008297, allocations: 4 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.00834, allocations: 24.48 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.008341, allocations: 0 / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of Templates: time 0.00303/0.01137, allocations: 1.134 MB / 0.8854 GB, free: 14.66 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=240 -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.035908984951675]