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.001512/0.001513, allocations: 107 kB / 16.41 MB, free: 6.504 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.001723/0.001723, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 55.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.109, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003755/1.113, allocations: 1.215 MB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004263/1.114, allocations: 61.2 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/1.114, allocations: 0 / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.559e-05/1.114, allocations: 0.7031 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/1.114, allocations: 4.141 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/1.114, allocations: 16.8 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/1.115, allocations: 11.61 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/1.115, allocations: 1.812 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/1.115, allocations: 13.56 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/1.115, allocations: 14.66 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/1.115, allocations: 0 / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/1.115, allocations: 9.812 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/1.115, allocations: 51.83 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/1.115, allocations: 35.94 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/1.116, allocations: 78.88 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.116, allocations: 0 / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.076e-06/1.116, allocations: 0 / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.116, allocations: 0 / 1.09 GB, free: 4.539 MB / 0.8575 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.000736/1.116, allocations: 426.2 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.792e-05/1.116, allocations: 10.05 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/1.117, allocations: 88.31 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/1.117, allocations: 262.9 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/1.117, allocations: 155.5 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/1.117, allocations: 152.3 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.393e-05/1.117, allocations: 108.9 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/1.117, allocations: 76.34 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/1.117, allocations: 151.3 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/1.117, allocations: 150.6 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/1.117, allocations: 151.6 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/1.118, allocations: 0.4903 MB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/1.118, allocations: 173.8 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/1.118, allocations: 85.73 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/1.118, allocations: 79.28 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/1.118, allocations: 111.4 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.118, allocations: 0.7188 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001145/1.118, allocations: 37.45 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/1.118, allocations: 53.08 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/1.119, allocations: 232.5 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/1.119, allocations: 29.64 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.119, allocations: 114.4 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/1.119, allocations: 0 / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/1.119, allocations: 41.56 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003053/1.119, allocations: 328.9 kB / 1.093 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/1.119, allocations: 55.03 kB / 1.093 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/1.12, allocations: 60.83 kB / 1.094 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/1.12, allocations: 135.9 kB / 1.094 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.12, allocations: 3.938 kB / 1.094 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005505/1.121, allocations: 170.1 kB / 1.094 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/1.121, allocations: 5.094 kB / 1.094 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.121, allocations: 1.344 kB / 1.094 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/1.121, allocations: 4.781 kB / 1.094 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.916e-06/1.121, allocations: 3.938 kB / 1.094 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.121, allocations: 1.531 kB / 1.094 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/1.121, allocations: 14.62 kB / 1.094 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/1.121, allocations: 10.52 kB / 1.094 GB, free: 17.01 MB / 0.8731 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.0002185/1.121, allocations: 203.4 kB / 1.094 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/1.121, allocations: 121.8 kB / 1.094 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/1.121, allocations: 112.1 kB / 1.094 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/1.121, allocations: 185.6 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-05/1.121, allocations: 102.3 kB / 1.095 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/1.122, allocations: 195.1 kB / 1.095 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/1.122, allocations: 178 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.122, allocations: 107 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.122, allocations: 189.4 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001406/1.122, allocations: 254.1 kB / 1.095 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002843/1.122, allocations: 391.6 kB / 1.096 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.707e-05/1.122, allocations: 107 kB / 1.096 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002596/1.123, allocations: 158.6 kB / 1.096 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of Backend: time 7.11e-07/1.123, allocations: 4.75 kB / 1.096 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007206/1.123, allocations: 159.4 kB / 1.096 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001029/1.125, allocations: 0.9863 MB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.004799/1.129, allocations: 0.752 MB / 1.098 GB, free: 13.59 MB / 0.8731 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/jenkins1/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