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.001063/0.001063, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001211/0.001211, allocations: 185 kB / 24.09 MB, free: 416 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.9366/0.9366, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.844/1.844, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.804e-06/1.804e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.607e-05, allocations: 2.312 kB / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002659/0.002685, allocations: 0.907 MB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.004272, allocations: 0.9374 MB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.004381, allocations: 1.5 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.199e-05/0.004433, allocations: 11.86 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.004634, allocations: 23.73 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.0049, allocations: 57.53 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.005068, allocations: 127.6 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.005202, allocations: 29.7 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.005445, allocations: 87.8 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.005559, allocations: 41.05 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.005588, allocations: 12 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.26e-05/0.00565, allocations: 15.98 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.005675, allocations: 25.3 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.005717, allocations: 35.91 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.005894, allocations: 87.59 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.005899, allocations: 1.75 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.273e-06/0.0059, allocations: 0 / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.005904, allocations: 0 / 0.8143 GB, free: 15.07 MB / 0.7761 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.000537/0.006441, allocations: 448 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.006487, allocations: 13.38 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.006693, allocations: 36.83 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.006871, allocations: 152.9 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.006886, allocations: 8.906 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.006903, allocations: 14.28 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.007087, allocations: 89.14 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.007098, allocations: 192 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.007112, allocations: 3.938 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.00712, allocations: 3.938 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.007182, allocations: 22.36 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.007738, allocations: 348 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.007945, allocations: 55.11 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.007991, allocations: 28.39 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.008015, allocations: 0 / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.008049, allocations: 33.92 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.008051, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003757/0.008427, allocations: 79.53 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.008459, allocations: 55.41 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.008572, allocations: 200 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.008594, allocations: 29.7 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.00867, allocations: 167.3 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.008694, allocations: 11.91 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.008745, allocations: 36.59 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.008879, allocations: 0.4884 MB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.008907, allocations: 8 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.008933, allocations: 13.14 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.008992, allocations: 27.75 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008995, allocations: 0 / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001139/0.009108, allocations: 70.12 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.009124, allocations: 8 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009129, allocations: 4.75 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.009142, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.009219, allocations: 16.83 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.009223, allocations: 3.938 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.009277, allocations: 9.688 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.009284, allocations: 0 / 0.8167 GB, free: 12.45 MB / 0.7761 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 8.917e-05/0.009374, allocations: 172.5 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.009404, allocations: 8.766 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.009439, allocations: 12.78 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.009442, allocations: 2.281 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.009445, allocations: 3.938 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.00945, allocations: 4 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.009604, allocations: 125.2 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009606, allocations: 3.938 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.009663, allocations: 15.92 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.009667, allocations: 6.062 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.009674, allocations: 4 kB / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009675, allocations: 0 / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009677, allocations: 320 / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.009855, allocations: 219.8 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.009872, allocations: 7.953 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.009895, allocations: 4.5 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.009974, allocations: 4.875 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.01003, allocations: 19.95 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01004, allocations: 5.688 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.55e-05/0.0101, allocations: 145.2 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.0101, allocations: 0 / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002555/0.01036, allocations: 27.89 kB / 0.8175 GB, free: 11.62 MB / 0.7761 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.0001373/0.0105, allocations: 105 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.01061, allocations: 39.66 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.01061, allocations: 4 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.01065, allocations: 27.61 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.0109, allocations: 8.688 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.01157, allocations: 226.9 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.536e-05/0.01161, allocations: 63.34 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.845e-05/0.01166, allocations: 4 kB / 0.8179 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.01174, allocations: 78.19 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of SimCode: time 8.62e-07/0.01174, allocations: 4 kB / 0.818 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of Templates: time 0.00406/0.0158, allocations: 1.169 MB / 0.8192 GB, free: 9.867 MB / 0.7761 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.773978866171092]