Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.648/2.648, allocations: 390.9 MB / 0.666 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004589, allocations: 8 kB / 0.8153 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.959/0.9595, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001154/0.9607, allocations: 0.9269 MB / 0.9553 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.9609, allocations: 59.17 kB / 0.9554 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.961, allocations: 0 / 0.9554 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.961, allocations: 1.375 kB / 0.9554 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.9612, allocations: 14.38 kB / 0.9554 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.9613, allocations: 11.25 kB / 0.9554 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.9614, allocations: 22.55 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.9614, allocations: 5.422 kB / 0.9554 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.9615, allocations: 4.562 kB / 0.9555 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.9615, allocations: 14.38 kB / 0.9555 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.9616, allocations: 0 / 0.9555 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.687e-05/0.9616, allocations: 15.94 kB / 0.9555 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.9617, allocations: 46.98 kB / 0.9555 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.9618, allocations: 46.52 kB / 0.9556 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.932e-05/0.9618, allocations: 48.61 kB / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9619, allocations: 0 / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9619, allocations: 1.125 kB / 0.9556 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.9619, allocations: 0 / 0.9556 GB, free: 6.805 MB / 0.7169 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.0003416/0.9622, allocations: 414.7 kB / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.9623, allocations: 9.094 kB / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.9623, allocations: 87.3 kB / 0.9561 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.9625, allocations: 264 kB / 0.9564 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.9625, allocations: 150.6 kB / 0.9565 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.9626, allocations: 152.1 kB / 0.9566 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.434e-05/0.9626, allocations: 101 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.9626, allocations: 80.72 kB / 0.9568 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.9627, allocations: 154.5 kB / 0.957 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.9627, allocations: 154.6 kB / 0.9571 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.9627, allocations: 159.4 kB / 0.9573 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.963, allocations: 500 kB / 0.9577 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.538e-05/0.963, allocations: 166.2 kB / 0.9579 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.963, allocations: 85.52 kB / 0.958 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.9631, allocations: 83.16 kB / 0.9581 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.9631, allocations: 107.2 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.9631, allocations: 0 / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.002e-05/0.9632, allocations: 37.89 kB / 0.9582 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.9632, allocations: 130.7 kB / 0.9583 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.9634, allocations: 231.2 kB / 0.9585 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.9634, allocations: 25.7 kB / 0.9586 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.9635, allocations: 107.3 kB / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.9635, allocations: 0 / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.9635, allocations: 0 / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.9636, allocations: 328.2 kB / 0.959 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.9637, allocations: 57.08 kB / 0.959 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.9638, allocations: 57.97 kB / 0.9591 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.9639, allocations: 65.61 kB / 0.9592 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9639, allocations: 4.031 kB / 0.9592 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003339/0.9642, allocations: 175 kB / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9642, allocations: 4.906 kB / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9643, allocations: 0 / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.9643, allocations: 1.312 kB / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.9643, allocations: 0 / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.9643, allocations: 0 / 0.9593 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.9643, allocations: 15.16 kB / 0.9593 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.9644, allocations: 9.297 kB / 0.9594 GB, free: 3.133 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.9645, allocations: 205.1 kB / 0.9596 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.9645, allocations: 121.5 kB / 0.9597 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.9646, allocations: 116.8 kB / 0.9598 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.9646, allocations: 177.5 kB / 0.96 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.441e-05/0.9646, allocations: 181.4 kB / 0.9601 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.9647, allocations: 185.4 kB / 0.9603 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.9648, allocations: 447.6 kB / 0.9607 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.9649, allocations: 102.7 kB / 0.9608 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.9649, allocations: 102.4 kB / 0.9609 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/0.9649, allocations: 189.5 kB / 0.9611 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.965, allocations: 181.5 kB / 0.9613 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.538e-05/0.965, allocations: 184.2 kB / 0.9615 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.833e-05/0.965, allocations: 177.8 kB / 0.9616 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.53e-05/0.9651, allocations: 326.6 kB / 0.9619 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.9652, allocations: 189.2 kB / 0.9621 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.9652, allocations: 181.9 kB / 0.9623 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.9653, allocations: 105 kB / 0.9624 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.9654, allocations: 190.2 kB / 0.9626 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.9655, allocations: 101.3 kB / 0.9627 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001419/0.9656, allocations: 164.4 kB / 0.9628 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9656, allocations: 0 / 0.9628 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002506/0.9659, allocations: 21.59 kB / 0.9628 GB, free: 15.46 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.9661, allocations: 188.8 kB / 0.963 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.9662, allocations: 75.44 kB / 0.9631 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9663, allocations: 0 / 0.9631 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.9663, allocations: 3.938 kB / 0.9631 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.9666, allocations: 0.5293 MB / 0.9636 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.9671, allocations: 314 kB / 0.9639 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.9674, allocations: 0.7076 MB / 0.9646 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.9674, allocations: 10.08 kB / 0.9646 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.9674, allocations: 9.656 kB / 0.9646 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.9674, allocations: 0 / 0.9646 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.003055/0.9705, allocations: 0.6779 MB / 0.9653 GB, free: 13.37 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches