Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001235/0.001235, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001335/0.001335, allocations: 169.3 kB / 24.28 MB, free: 280 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 0.9034/0.9034, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.794/1.794, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7871 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.69e-05, allocations: 7.156 kB / 0.7871 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.005604/0.005621, allocations: 0.9054 MB / 0.788 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.006554, allocations: 0.95 MB / 0.7889 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.006612, allocations: 4 kB / 0.7889 GB, free: 9.863 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.006647, allocations: 8.656 kB / 0.7889 GB, free: 9.855 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.216e-05/0.006739, allocations: 20.7 kB / 0.7889 GB, free: 9.836 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.006941, allocations: 51.88 kB / 0.789 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.007078, allocations: 124.4 kB / 0.7891 GB, free: 9.664 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.007192, allocations: 45.61 kB / 0.7891 GB, free: 9.613 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.007353, allocations: 74.34 kB / 0.7892 GB, free: 9.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.007433, allocations: 47.83 kB / 0.7893 GB, free: 9.496 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.007458, allocations: 15.98 kB / 0.7893 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.343e-05/0.007501, allocations: 16 kB / 0.7893 GB, free: 9.465 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.007523, allocations: 23.91 kB / 0.7893 GB, free: 9.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.007563, allocations: 39.91 kB / 0.7894 GB, free: 9.402 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.007722, allocations: 105.3 kB / 0.7895 GB, free: 9.301 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.007724, allocations: 0 / 0.7895 GB, free: 9.301 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.91e-07/0.007724, allocations: 0 / 0.7895 GB, free: 9.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.007728, allocations: 0 / 0.7895 GB, free: 9.301 MB / 0.698 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.0004748/0.008203, allocations: 460.2 kB / 0.7899 GB, free: 8.816 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.00824, allocations: 8.594 kB / 0.7899 GB, free: 8.809 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.01142, allocations: 37.92 kB / 0.7899 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.01162, allocations: 153.1 kB / 0.7901 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.01163, allocations: 9.75 kB / 0.7901 GB, free: 8.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.01165, allocations: 12.38 kB / 0.7901 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.0118, allocations: 93.31 kB / 0.7902 GB, free: 8.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01181, allocations: 3.938 kB / 0.7902 GB, free: 8.477 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.01182, allocations: 5.781 kB / 0.7902 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.01183, allocations: 4 kB / 0.7902 GB, free: 8.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.0119, allocations: 27.97 kB / 0.7902 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.01233, allocations: 368.8 kB / 0.7906 GB, free: 8.047 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.01251, allocations: 67.09 kB / 0.7907 GB, free: 7.969 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.01255, allocations: 20.2 kB / 0.7907 GB, free: 7.945 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.01256, allocations: 5.938 kB / 0.7907 GB, free: 7.941 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.01258, allocations: 37.39 kB / 0.7907 GB, free: 7.895 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.01259, allocations: 3.938 kB / 0.7907 GB, free: 7.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002027/0.01279, allocations: 85.67 kB / 0.7908 GB, free: 7.801 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.01282, allocations: 55.34 kB / 0.7909 GB, free: 7.734 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.01293, allocations: 202.6 kB / 0.791 GB, free: 7.523 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01295, allocations: 29.7 kB / 0.7911 GB, free: 7.488 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.01301, allocations: 162.7 kB / 0.7912 GB, free: 7.324 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.01304, allocations: 20.05 kB / 0.7912 GB, free: 7.305 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.01308, allocations: 31.36 kB / 0.7913 GB, free: 7.266 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.0132, allocations: 0.4962 MB / 0.7918 GB, free: 6.758 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.01323, allocations: 8 kB / 0.7918 GB, free: 6.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.01331, allocations: 98.92 kB / 0.7919 GB, free: 6.629 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.521e-05/0.01336, allocations: 27.62 kB / 0.7919 GB, free: 6.598 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01336, allocations: 0.7188 kB / 0.7919 GB, free: 6.598 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001128/0.01347, allocations: 81.52 kB / 0.792 GB, free: 6.512 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.01349, allocations: 4.531 kB / 0.792 GB, free: 6.508 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.01349, allocations: 5.656 kB / 0.792 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.0135, allocations: 3.938 kB / 0.792 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.01355, allocations: 8 kB / 0.792 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.01355, allocations: 0 / 0.792 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.0136, allocations: 16.42 kB / 0.792 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.0136, allocations: 0.5938 kB / 0.792 GB, free: 6.477 MB / 0.698 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.0001938/0.0138, allocations: 161.4 kB / 0.7922 GB, free: 6.309 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.01383, allocations: 11.95 kB / 0.7922 GB, free: 6.297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.01385, allocations: 13.92 kB / 0.7922 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01386, allocations: 7.938 kB / 0.7922 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01386, allocations: 0 / 0.7922 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01386, allocations: 0.9062 kB / 0.7922 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.014, allocations: 144.6 kB / 0.7923 GB, free: 6.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.014, allocations: 0.7812 kB / 0.7923 GB, free: 6.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.01403, allocations: 15.92 kB / 0.7923 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.01404, allocations: 1.219 kB / 0.7923 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01404, allocations: 8 kB / 0.7924 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01405, allocations: 0 / 0.7924 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01405, allocations: 3.938 kB / 0.7924 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.01418, allocations: 216.7 kB / 0.7926 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.01419, allocations: 7.953 kB / 0.7926 GB, free: 5.836 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00303/0.01722, allocations: 13.28 kB / 0.7926 GB, free: 5.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.01729, allocations: 3.984 kB / 0.7926 GB, free: 5.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.01735, allocations: 23.91 kB / 0.7926 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.01735, allocations: 1.188 kB / 0.7926 GB, free: 5.797 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.01741, allocations: 147.2 kB / 0.7928 GB, free: 5.652 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01741, allocations: 0 / 0.7928 GB, free: 5.652 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002196/0.01763, allocations: 25.81 kB / 0.7928 GB, free: 5.629 MB / 0.698 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 7.579e-05/0.01771, allocations: 99.19 kB / 0.7929 GB, free: 5.523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.01783, allocations: 43.66 kB / 0.7929 GB, free: 5.477 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01783, allocations: 2.469 kB / 0.7929 GB, free: 5.477 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.01787, allocations: 31.61 kB / 0.7929 GB, free: 5.441 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.0181, allocations: 15.98 kB / 0.793 GB, free: 5.426 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.01869, allocations: 214.8 kB / 0.7932 GB, free: 5.184 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.355e-05/0.01873, allocations: 65.22 kB / 0.7932 GB, free: 5.102 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.263e-05/0.01877, allocations: 9.172 kB / 0.7932 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.01882, allocations: 20.5 kB / 0.7933 GB, free: 5.074 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/0.01882, allocations: 0 / 0.7933 GB, free: 5.074 MB / 0.698 GB Notification: Performance of Templates: time 0.005898/0.02471, allocations: 1.127 MB / 0.7944 GB, free: 3.98 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.793159339111298]