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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001706/0.001706, allocations: 193.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.142, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003564/1.146, allocations: 1.287 MB / 0.9502 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003735/1.147, allocations: 56.2 kB / 0.9502 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/1.147, allocations: 0 / 0.9502 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.803e-05/1.147, allocations: 0 / 0.9502 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002169/1.147, allocations: 6.734 kB / 0.9502 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/1.147, allocations: 16.05 kB / 0.9502 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/1.147, allocations: 28.47 kB / 0.9503 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.146e-05/1.147, allocations: 1.375 kB / 0.9503 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/1.147, allocations: 8.109 kB / 0.9503 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/1.147, allocations: 22.98 kB / 0.9503 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/1.147, allocations: 1.375 kB / 0.9503 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/1.148, allocations: 2.75 kB / 0.9503 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/1.148, allocations: 53.19 kB / 0.9504 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/1.148, allocations: 40.19 kB / 0.9504 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/1.148, allocations: 70.67 kB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.148, allocations: 0 / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/1.148, allocations: 0 / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.779e-06/1.148, allocations: 0 / 0.9505 GB, free: 7.945 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.0006117/1.149, allocations: 426.7 kB / 0.9509 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.826e-05/1.149, allocations: 9.625 kB / 0.9509 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/1.149, allocations: 92.16 kB / 0.951 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/1.149, allocations: 265 kB / 0.9512 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/1.149, allocations: 154.5 kB / 0.9514 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/1.149, allocations: 151.7 kB / 0.9515 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.374e-05/1.149, allocations: 101 kB / 0.9516 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.149, allocations: 84.41 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/1.149, allocations: 154.5 kB / 0.9518 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/1.149, allocations: 155.7 kB / 0.952 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/1.149, allocations: 154.5 kB / 0.9521 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/1.15, allocations: 0.4888 MB / 0.9526 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.74e-05/1.15, allocations: 170.4 kB / 0.9528 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/1.15, allocations: 84.08 kB / 0.9528 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/1.15, allocations: 79.22 kB / 0.9529 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/1.15, allocations: 107.4 kB / 0.953 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.15, allocations: 0 / 0.953 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.00013/1.15, allocations: 33.52 kB / 0.9531 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/1.15, allocations: 139.7 kB / 0.9532 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/1.151, allocations: 224.5 kB / 0.9534 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.151, allocations: 25.7 kB / 0.9534 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.151, allocations: 114.4 kB / 0.9535 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/1.151, allocations: 1.281 kB / 0.9535 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/1.151, allocations: 38.5 kB / 0.9536 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.151, allocations: 327.8 kB / 0.9539 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/1.151, allocations: 65.3 kB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/1.151, allocations: 57.41 kB / 0.954 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/1.151, allocations: 137.3 kB / 0.9541 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.151, allocations: 0 / 0.9541 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005859/1.152, allocations: 174.3 kB / 0.9543 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.152, allocations: 5.219 kB / 0.9543 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.152, allocations: 0 / 0.9543 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.152, allocations: 0 / 0.9543 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.804e-06/1.152, allocations: 1.312 kB / 0.9543 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.152, allocations: 0 / 0.9543 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/1.152, allocations: 18.34 kB / 0.9543 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/1.152, allocations: 14.3 kB / 0.9543 GB, free: 4.191 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001472/1.152, allocations: 199.7 kB / 0.9545 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/1.152, allocations: 117.3 kB / 0.9546 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/1.153, allocations: 117.6 kB / 0.9548 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.695e-05/1.153, allocations: 185 kB / 0.9549 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-05/1.153, allocations: 181.5 kB / 0.9551 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-05/1.153, allocations: 181.2 kB / 0.9553 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/1.153, allocations: 441.4 kB / 0.9557 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/1.153, allocations: 101.8 kB / 0.9558 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/1.153, allocations: 110 kB / 0.9559 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.457e-05/1.153, allocations: 185.3 kB / 0.9561 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/1.153, allocations: 177.2 kB / 0.9562 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.848e-05/1.153, allocations: 185.4 kB / 0.9564 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.683e-05/1.153, allocations: 177.3 kB / 0.9566 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/1.153, allocations: 322.1 kB / 0.9569 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/1.154, allocations: 197.5 kB / 0.9571 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.307e-05/1.154, allocations: 177.3 kB / 0.9573 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/1.154, allocations: 106.4 kB / 0.9574 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/1.154, allocations: 185.6 kB / 0.9575 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/1.154, allocations: 110.1 kB / 0.9576 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001729/1.154, allocations: 164.4 kB / 0.9578 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.154, allocations: 4 kB / 0.9578 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003269/1.154, allocations: 21.69 kB / 0.9578 GB, free: 0.5234 MB / 0.7169 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.0002266/1.155, allocations: 181.5 kB / 0.958 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002105/1.155, allocations: 78.89 kB / 0.9581 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.155, allocations: 0 / 0.9581 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/1.155, allocations: 1.031 kB / 0.9581 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/1.155, allocations: 0.5276 MB / 0.9586 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/1.156, allocations: 319.3 kB / 0.9589 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/1.156, allocations: 0.7084 MB / 0.9596 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.342e-05/1.157, allocations: 9.141 kB / 0.9596 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/1.157, allocations: 14.39 kB / 0.9596 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/1.157, allocations: 0 / 0.9596 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.004609/1.161, allocations: 0.711 MB / 0.9603 GB, free: 14.42 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