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.0009745/0.0009745, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001155/0.001155, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.027/1.027, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.97/1.97, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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 2.054e-06/2.054e-06, allocations: 0 / 0.8127 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.862e-05/4.068e-05, allocations: 4.844 kB / 0.8127 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002723/0.002763, allocations: 1.266 MB / 0.814 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002813/0.003045, allocations: 47.78 kB / 0.814 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.00308, allocations: 0 / 0.814 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.831e-05/0.003138, allocations: 5.016 kB / 0.814 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.003325, allocations: 12.05 kB / 0.814 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.00355, allocations: 8.766 kB / 0.8141 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.003657, allocations: 15.92 kB / 0.8141 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.003713, allocations: 1.688 kB / 0.8141 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.362e-05/0.003786, allocations: 15.98 kB / 0.8141 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.00388, allocations: 8.688 kB / 0.8141 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.003903, allocations: 0 / 0.8141 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.004017, allocations: 15.91 kB / 0.8141 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.004119, allocations: 53.94 kB / 0.8142 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.004152, allocations: 19.94 kB / 0.8142 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.004336, allocations: 72.89 kB / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004339, allocations: 0 / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.21e-07/0.00434, allocations: 0 / 0.8142 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.004345, allocations: 1.594 kB / 0.8143 GB, free: 15.94 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000527/0.004872, allocations: 455.8 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.004924, allocations: 8.031 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.005007, allocations: 136 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.005216, allocations: 253.1 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.671e-05/0.005313, allocations: 238.8 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.343e-05/0.005396, allocations: 247.2 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.005483, allocations: 149 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.005529, allocations: 124.8 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.005619, allocations: 238.4 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.365e-05/0.005712, allocations: 238.4 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-05/0.0058, allocations: 242.4 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.006192, allocations: 0.5925 MB / 0.8171 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.006318, allocations: 265.4 kB / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.006368, allocations: 131.3 kB / 0.8174 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.006406, allocations: 120.1 kB / 0.8175 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.256e-05/0.006479, allocations: 160.6 kB / 0.8177 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.00648, allocations: 1.156 kB / 0.8177 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.009e-05/0.00657, allocations: 41.55 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.006654, allocations: 170.6 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.006902, allocations: 286.9 kB / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.006917, allocations: 25.7 kB / 0.8182 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.007014, allocations: 162.8 kB / 0.8184 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.007016, allocations: 0 / 0.8184 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.007104, allocations: 53.06 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.007285, allocations: 0.4962 MB / 0.8189 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.007325, allocations: 11.94 kB / 0.8189 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.007352, allocations: 12 kB / 0.8189 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.007447, allocations: 63.41 kB / 0.819 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.007449, allocations: 0 / 0.819 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002161/0.007665, allocations: 100 kB / 0.8191 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.007714, allocations: 11.94 kB / 0.8191 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.007723, allocations: 0 / 0.8191 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.007738, allocations: 0 / 0.8191 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.007739, allocations: 0.5 kB / 0.8191 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.007743, allocations: 2.594 kB / 0.8191 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.007794, allocations: 11.89 kB / 0.8191 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.007816, allocations: 11.92 kB / 0.8191 GB, free: 10.77 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.0001473/0.007963, allocations: 279.8 kB / 0.8194 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.008053, allocations: 156.8 kB / 0.8195 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.008122, allocations: 161.3 kB / 0.8197 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/0.008205, allocations: 277.7 kB / 0.8199 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001033/0.008308, allocations: 268.1 kB / 0.8202 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.453e-05/0.008383, allocations: 276 kB / 0.8205 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.008582, allocations: 0.4926 MB / 0.8209 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.94e-05/0.008622, allocations: 148.9 kB / 0.8211 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.008661, allocations: 153.3 kB / 0.8212 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.905e-05/0.00873, allocations: 264.6 kB / 0.8215 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/0.0088, allocations: 272 kB / 0.8217 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001435/0.008943, allocations: 265.7 kB / 0.822 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.042e-05/0.009014, allocations: 272 kB / 0.8223 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.009208, allocations: 455.9 kB / 0.8227 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.00928, allocations: 160.7 kB / 0.8228 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.009374, allocations: 270.7 kB / 0.8231 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.009469, allocations: 148.9 kB / 0.8232 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.009564, allocations: 272 kB / 0.8235 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.009621, allocations: 152.9 kB / 0.8236 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001318/0.009753, allocations: 176.5 kB / 0.8238 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009753, allocations: 0 / 0.8238 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002975/0.01005, allocations: 16 kB / 0.8238 GB, free: 5.75 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.0002285/0.01028, allocations: 227.4 kB / 0.824 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.01041, allocations: 32.5 kB / 0.8241 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01041, allocations: 0 / 0.8241 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.01041, allocations: 4.844 kB / 0.8241 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.01083, allocations: 0.7061 MB / 0.8248 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.0113, allocations: 330 kB / 0.8251 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.138e-05/0.01137, allocations: 71.31 kB / 0.8252 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.0114, allocations: 7.984 kB / 0.8252 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.01147, allocations: 74.2 kB / 0.8252 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.01147, allocations: 0 / 0.8252 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of Templates: time 0.003993/0.01547, allocations: 0.8281 MB / 0.826 GB, free: 3.438 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.250806199852377]