Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001439/0.001439, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001599/0.001599, allocations: 161 kB / 23.82 MB, free: 0.75 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.039/1.039, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.886/1.886, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.787e-05/3.987e-05, allocations: 5.891 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002835/0.002874, allocations: 1.277 MB / 0.8128 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002794/0.003154, allocations: 52.48 kB / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.003191, allocations: 0 / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/0.003242, allocations: 0.5938 kB / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.003389, allocations: 19.84 kB / 0.8128 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.003574, allocations: 9.031 kB / 0.8128 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.003669, allocations: 19.91 kB / 0.8128 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.003712, allocations: 0.7188 kB / 0.8128 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.003764, allocations: 4 kB / 0.8129 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.003832, allocations: 15.14 kB / 0.8129 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.00385, allocations: 0 / 0.8129 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.003942, allocations: 11.94 kB / 0.8129 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.004056, allocations: 52.41 kB / 0.8129 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.004096, allocations: 19.94 kB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.004251, allocations: 73.03 kB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004254, allocations: 0 / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004255, allocations: 0 / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.004261, allocations: 1.594 kB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005019/0.004763, allocations: 459.9 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.00481, allocations: 8.031 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.004895, allocations: 132 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.005066, allocations: 260.8 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.005143, allocations: 238.8 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/0.005226, allocations: 240 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.005308, allocations: 153 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.005344, allocations: 119.2 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.005417, allocations: 238.9 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.586e-05/0.005493, allocations: 242.3 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.005576, allocations: 251.7 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.005975, allocations: 0.6187 MB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.006099, allocations: 265.4 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.006143, allocations: 128 kB / 0.8162 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.006181, allocations: 119.2 kB / 0.8163 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.006239, allocations: 156.6 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.00624, allocations: 1.062 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.695e-05/0.006337, allocations: 49.48 kB / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.006407, allocations: 170.6 kB / 0.8167 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.006658, allocations: 278.7 kB / 0.817 GB, free: 12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.006673, allocations: 25.7 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.006763, allocations: 163.7 kB / 0.8172 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.006766, allocations: 0 / 0.8172 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.006831, allocations: 47.36 kB / 0.8172 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.006998, allocations: 0.5016 MB / 0.8177 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.007045, allocations: 19.98 kB / 0.8177 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.007076, allocations: 12 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.007186, allocations: 61.3 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.007189, allocations: 6.781 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002366/0.007425, allocations: 115.4 kB / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.007442, allocations: 4 kB / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.007449, allocations: 0 / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.007464, allocations: 0 / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-06/0.007469, allocations: 4 kB / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.007474, allocations: 0 / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.00752, allocations: 8.391 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.007543, allocations: 8 kB / 0.8179 GB, free: 11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001166/0.007659, allocations: 274.2 kB / 0.8182 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.007742, allocations: 168.7 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.007814, allocations: 161.4 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.621e-05/0.0079, allocations: 264.1 kB / 0.8187 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.269e-05/0.007983, allocations: 272.1 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.36e-05/0.008066, allocations: 272.1 kB / 0.8193 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.008337, allocations: 0.5288 MB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.46e-05/0.008381, allocations: 148.9 kB / 0.8199 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.008426, allocations: 148.8 kB / 0.8201 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-05/0.008509, allocations: 272 kB / 0.8203 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.221e-05/0.008591, allocations: 272.9 kB / 0.8206 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.817e-05/0.008669, allocations: 272 kB / 0.8208 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.542e-05/0.008744, allocations: 268.6 kB / 0.8211 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.008918, allocations: 455.9 kB / 0.8215 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.008984, allocations: 157.4 kB / 0.8217 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.615e-05/0.00908, allocations: 276.8 kB / 0.822 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.009172, allocations: 148.9 kB / 0.8221 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.009263, allocations: 276 kB / 0.8224 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.009309, allocations: 149.7 kB / 0.8225 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000117/0.009426, allocations: 180.5 kB / 0.8227 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.009426, allocations: 1.281 kB / 0.8227 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002891/0.009715, allocations: 16 kB / 0.8227 GB, free: 5.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002037/0.009918, allocations: 223.2 kB / 0.8229 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.01005, allocations: 35.67 kB / 0.8229 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01005, allocations: 1.156 kB / 0.8229 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.01005, allocations: 3.938 kB / 0.8229 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.01051, allocations: 0.7075 MB / 0.8236 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.01095, allocations: 330.6 kB / 0.8239 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.011, allocations: 71.33 kB / 0.824 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.01102, allocations: 13.03 kB / 0.824 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.01105, allocations: 8.5 kB / 0.824 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.01105, allocations: 1.125 kB / 0.824 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of Templates: time 0.003689/0.01474, allocations: 0.8193 MB / 0.8248 GB, free: 3.691 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.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.209547178819776]