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.0009706/0.0009706, allocations: 81.95 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.0009971/0.0009971, allocations: 185.3 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.9944/0.9944, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.857/1.857, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.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 3.507e-06/3.507e-06, allocations: 4.547 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.544e-05, allocations: 2.312 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003095/0.003131, allocations: 1.266 MB / 0.8132 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.003422, allocations: 53.31 kB / 0.8133 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.003465, allocations: 0 / 0.8133 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.003513, allocations: 0.7812 kB / 0.8133 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.003663, allocations: 11.97 kB / 0.8133 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.003848, allocations: 9.625 kB / 0.8133 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.00393, allocations: 19.92 kB / 0.8133 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.00397, allocations: 0 / 0.8133 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.004033, allocations: 11.97 kB / 0.8133 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.004101, allocations: 14.22 kB / 0.8133 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.004119, allocations: 0 / 0.8133 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.004213, allocations: 11.92 kB / 0.8133 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.004318, allocations: 50.06 kB / 0.8134 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.004353, allocations: 19.94 kB / 0.8134 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.004555, allocations: 67.72 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004558, allocations: 0 / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.464e-06/0.00456, allocations: 4.547 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.004565, allocations: 0 / 0.8135 GB, free: 15.95 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.0004399/0.005005, allocations: 456.4 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.005054, allocations: 12.75 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.005128, allocations: 132 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.00528, allocations: 257.5 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.559e-05/0.005355, allocations: 242.8 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/0.005429, allocations: 242.8 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.902e-05/0.005508, allocations: 154.3 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.005547, allocations: 123.2 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.616e-05/0.005624, allocations: 238.4 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.005799, allocations: 238.4 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.005866, allocations: 244.1 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.006187, allocations: 0.5919 MB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.006289, allocations: 269.4 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.006329, allocations: 126.9 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.006365, allocations: 120 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.006421, allocations: 156.6 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.006422, allocations: 0.75 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.387e-05/0.006506, allocations: 41.55 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.006571, allocations: 179.1 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.006774, allocations: 281.5 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.006787, allocations: 26.23 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.00686, allocations: 159.3 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.006862, allocations: 0 / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.006916, allocations: 48.7 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.007074, allocations: 0.5079 MB / 0.8181 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.007105, allocations: 8 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.00713, allocations: 14.56 kB / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.493e-05/0.007215, allocations: 57.28 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.007217, allocations: 0 / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001756/0.007393, allocations: 104 kB / 0.8183 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.00741, allocations: 11.94 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.007417, allocations: 0 / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.00743, allocations: 0 / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-06/0.007435, allocations: 0.5312 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.007438, allocations: 0.7188 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.007483, allocations: 11.89 kB / 0.8183 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.007501, allocations: 4.531 kB / 0.8183 GB, free: 10.78 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.0001198/0.007621, allocations: 285.3 kB / 0.8186 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.007692, allocations: 156.8 kB / 0.8188 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.007942, allocations: 165.3 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.777e-05/0.00801, allocations: 268.1 kB / 0.8192 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.182e-05/0.008082, allocations: 272.1 kB / 0.8194 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.767e-05/0.00815, allocations: 272.7 kB / 0.8197 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.008374, allocations: 0.4898 MB / 0.8202 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.62e-05/0.00842, allocations: 152.8 kB / 0.8203 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.008468, allocations: 148.9 kB / 0.8205 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.362e-05/0.008542, allocations: 265.2 kB / 0.8207 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/0.008619, allocations: 276 kB / 0.821 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-05/0.008695, allocations: 264.1 kB / 0.8212 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.332e-05/0.008768, allocations: 272.8 kB / 0.8215 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.008938, allocations: 455.9 kB / 0.8219 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.009005, allocations: 167 kB / 0.8221 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.009101, allocations: 272.1 kB / 0.8223 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.009202, allocations: 152.8 kB / 0.8225 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.009289, allocations: 272 kB / 0.8227 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.009334, allocations: 152.8 kB / 0.8229 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001018/0.009435, allocations: 172.5 kB / 0.8231 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.31e-07/0.009436, allocations: 2.781 kB / 0.8231 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002589/0.009695, allocations: 16 kB / 0.8231 GB, free: 5.754 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.0001843/0.009879, allocations: 226.4 kB / 0.8233 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.009983, allocations: 31.67 kB / 0.8233 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.009985, allocations: 0 / 0.8233 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.009987, allocations: 4 kB / 0.8233 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.01043, allocations: 0.7038 MB / 0.824 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.01083, allocations: 335.9 kB / 0.8243 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.0109, allocations: 71.31 kB / 0.8244 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.01092, allocations: 7.984 kB / 0.8244 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.01098, allocations: 71.2 kB / 0.8245 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of SimCode: time 1.253e-06/0.01098, allocations: 0 / 0.8245 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.003136/0.01411, allocations: 0.8087 MB / 0.8253 GB, free: 3.469 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.059469071216881]