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.0009303/0.0009303, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001147/0.001147, allocations: 169 kB / 24.28 MB, free: 276 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.955/0.955, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.967/1.967, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.883e-06/1.883e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.494e-05, allocations: 7.312 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002681/0.002716, allocations: 1.268 MB / 0.8127 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/0.002996, allocations: 57.52 kB / 0.8128 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.003037, allocations: 0 / 0.8128 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.003082, allocations: 0 / 0.8128 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.003222, allocations: 3.938 kB / 0.8128 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.003415, allocations: 15.97 kB / 0.8128 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.612e-05/0.003501, allocations: 21.41 kB / 0.8128 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.003547, allocations: 3.984 kB / 0.8128 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.003605, allocations: 7.984 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.00367, allocations: 12.73 kB / 0.8128 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.003689, allocations: 0.5 kB / 0.8128 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.003775, allocations: 8.844 kB / 0.8129 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.003882, allocations: 57.03 kB / 0.8129 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.003921, allocations: 21.53 kB / 0.8129 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.004074, allocations: 63.7 kB / 0.813 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.004077, allocations: 0 / 0.813 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.295e-06/0.00408, allocations: 0 / 0.813 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.004085, allocations: 0 / 0.813 GB, free: 0.5391 MB / 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.0005102/0.004595, allocations: 460.4 kB / 0.8134 GB, free: 56 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.00465, allocations: 12.75 kB / 0.8134 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.00476, allocations: 132 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.004954, allocations: 248.9 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.437e-05/0.005039, allocations: 244.4 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.005122, allocations: 238.8 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.853e-05/0.00521, allocations: 156.9 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/0.005258, allocations: 119.2 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.005324, allocations: 246.4 kB / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/0.005386, allocations: 239 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.47e-05/0.005451, allocations: 243 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.005835, allocations: 0.6226 MB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.005929, allocations: 270 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.005971, allocations: 126.9 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.006005, allocations: 124.2 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.006058, allocations: 152.6 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.006059, allocations: 1.375 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001002/0.006159, allocations: 41.55 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.006229, allocations: 178.6 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.006464, allocations: 277.7 kB / 0.817 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.006478, allocations: 27.45 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.006601, allocations: 170.7 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.006604, allocations: 0 / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.006665, allocations: 47.34 kB / 0.8172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.006806, allocations: 0.5001 MB / 0.8177 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.006845, allocations: 14.22 kB / 0.8177 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.006886, allocations: 21.67 kB / 0.8177 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.006988, allocations: 58.23 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.006991, allocations: 4 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002482/0.007239, allocations: 101.5 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.007265, allocations: 13.56 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.007273, allocations: 0 / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.007291, allocations: 0 / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.597e-06/0.007295, allocations: 3.938 kB / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.007303, allocations: 3.984 kB / 0.8179 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.007349, allocations: 11.89 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.007372, allocations: 4 kB / 0.8179 GB, free: 11.31 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.00012/0.007492, allocations: 277.2 kB / 0.8182 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.007572, allocations: 164.8 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.007639, allocations: 161.4 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.622e-05/0.007715, allocations: 268 kB / 0.8187 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.149e-05/0.007797, allocations: 264.8 kB / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.18e-05/0.007879, allocations: 280 kB / 0.8193 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.008164, allocations: 0.5278 MB / 0.8198 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/0.00821, allocations: 149.4 kB / 0.8199 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.008253, allocations: 144.9 kB / 0.82 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-05/0.008325, allocations: 268.7 kB / 0.8203 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.808e-05/0.008403, allocations: 272 kB / 0.8206 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001592/0.008562, allocations: 277.3 kB / 0.8208 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.947e-05/0.008631, allocations: 272 kB / 0.8211 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.008793, allocations: 447.9 kB / 0.8215 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.008852, allocations: 167.3 kB / 0.8217 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.008948, allocations: 272 kB / 0.8219 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.00904, allocations: 152.8 kB / 0.8221 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.009117, allocations: 264.1 kB / 0.8223 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.009157, allocations: 144.9 kB / 0.8225 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001162/0.009274, allocations: 180.5 kB / 0.8226 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009274, allocations: 0 / 0.8226 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000273/0.009547, allocations: 24.75 kB / 0.8227 GB, free: 6.246 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.0002052/0.009752, allocations: 227.3 kB / 0.8229 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.009876, allocations: 35.66 kB / 0.8229 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009878, allocations: 1.219 kB / 0.8229 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.00988, allocations: 4 kB / 0.8229 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.01031, allocations: 0.7023 MB / 0.8236 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.01074, allocations: 335.7 kB / 0.8239 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.0108, allocations: 71.27 kB / 0.824 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.01082, allocations: 7.984 kB / 0.824 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.01085, allocations: 16.5 kB / 0.824 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.01085, allocations: 0 / 0.824 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of Templates: time 0.003478/0.01433, allocations: 0.7231 MB / 0.8247 GB, free: 4.086 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.251961482921615]