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.001109/0.001109, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001141/0.001141, allocations: 165 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.03/1.03, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.936/1.936, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.733e-06/1.733e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.906e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002588/0.002617, allocations: 1.274 MB / 0.8128 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002758/0.002893, allocations: 49.25 kB / 0.8128 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.00293, allocations: 0 / 0.8128 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.002981, allocations: 0 / 0.8128 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.003116, allocations: 7.984 kB / 0.8128 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.003309, allocations: 16.56 kB / 0.8128 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.352e-05/0.003392, allocations: 20.81 kB / 0.8128 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.003434, allocations: 0 / 0.8128 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.003486, allocations: 4 kB / 0.8128 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.003555, allocations: 17.39 kB / 0.8129 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.003572, allocations: 3.984 kB / 0.8129 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.003665, allocations: 8.812 kB / 0.8129 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.003779, allocations: 53.7 kB / 0.8129 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.003823, allocations: 23.88 kB / 0.8129 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.00397, allocations: 61.25 kB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003972, allocations: 0 / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003973, allocations: 0 / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.003978, allocations: 4 kB / 0.813 GB, free: 244 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.0005096/0.004488, allocations: 461.3 kB / 0.8134 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.004534, allocations: 8.031 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.004613, allocations: 132 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.004782, allocations: 256.3 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.004841, allocations: 240.6 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.0049, allocations: 238.8 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.357e-05/0.004964, allocations: 157 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.00499, allocations: 119.2 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.005043, allocations: 238.4 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-05/0.005098, allocations: 243.8 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.00515, allocations: 238.4 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.005415, allocations: 0.6226 MB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.542e-05/0.0055, allocations: 269.4 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.005624, allocations: 131.6 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.005653, allocations: 119.2 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.005698, allocations: 153.6 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.005699, allocations: 3.938 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.752e-05/0.005767, allocations: 42.17 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.00582, allocations: 178.6 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.005992, allocations: 283.5 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.006002, allocations: 25.7 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.006067, allocations: 166.8 kB / 0.8172 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.00607, allocations: 0 / 0.8172 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.006115, allocations: 47.36 kB / 0.8172 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.006228, allocations: 0.4967 MB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.00626, allocations: 19.98 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.006282, allocations: 12.72 kB / 0.8177 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.384e-05/0.006356, allocations: 61.48 kB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.006358, allocations: 1.281 kB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001697/0.006528, allocations: 109.5 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006541, allocations: 4 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.006548, allocations: 0.625 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.006562, allocations: 5.062 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-06/0.006566, allocations: 0 / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.006571, allocations: 0 / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.006601, allocations: 11.89 kB / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.006614, allocations: 4.75 kB / 0.8179 GB, free: 11.02 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 8.867e-05/0.006703, allocations: 280.5 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.006755, allocations: 164.8 kB / 0.8183 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.006806, allocations: 162.6 kB / 0.8185 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-05/0.006867, allocations: 264.1 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.897e-05/0.006936, allocations: 276.1 kB / 0.819 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-05/0.006998, allocations: 276.8 kB / 0.8193 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.007174, allocations: 0.5194 MB / 0.8198 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/0.007207, allocations: 149.8 kB / 0.8199 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.007241, allocations: 152.9 kB / 0.8201 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-05/0.007294, allocations: 264.1 kB / 0.8203 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.007351, allocations: 273.3 kB / 0.8206 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-05/0.007408, allocations: 272.1 kB / 0.8208 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-05/0.007461, allocations: 268 kB / 0.8211 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.007586, allocations: 456.8 kB / 0.8215 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.007627, allocations: 160.7 kB / 0.8217 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.007694, allocations: 280 kB / 0.8219 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-05/0.007751, allocations: 151.1 kB / 0.8221 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.00781, allocations: 268.1 kB / 0.8223 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.007838, allocations: 148.9 kB / 0.8225 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.375e-05/0.007911, allocations: 180.5 kB / 0.8227 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007911, allocations: 0 / 0.8227 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001579/0.008069, allocations: 20 kB / 0.8227 GB, free: 5.945 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.0001443/0.008214, allocations: 225.8 kB / 0.8229 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.102e-05/0.008305, allocations: 37.36 kB / 0.8229 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008306, allocations: 0 / 0.8229 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.008307, allocations: 0 / 0.8229 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.008735, allocations: 0.7023 MB / 0.8236 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.009054, allocations: 339.4 kB / 0.8239 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.009098, allocations: 71.88 kB / 0.824 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.009113, allocations: 11.98 kB / 0.824 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.009135, allocations: 9.062 kB / 0.824 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.009136, allocations: 1.406 kB / 0.824 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.00254/0.01168, allocations: 0.7241 MB / 0.8247 GB, free: 3.793 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.260428263805807]