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.00574/0.00574, allocations: 102.2 kB / 15.73 MB, free: 6.055 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.00116/0.00116, allocations: 194.3 kB / 16.68 MB, free: 5.965 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.466/2.466, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 64.09 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444/1.445, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003134/1.449, allocations: 1.217 MB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003326/1.449, allocations: 54.59 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/1.449, allocations: 1.281 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.565e-05/1.449, allocations: 0.7031 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/1.449, allocations: 5.844 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/1.449, allocations: 17.97 kB / 1.089 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/1.45, allocations: 18.98 kB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/1.45, allocations: 1.984 kB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/1.45, allocations: 9.078 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/1.45, allocations: 15.09 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/1.45, allocations: 0 / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/1.45, allocations: 4.859 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/1.45, allocations: 47.62 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/1.45, allocations: 40.59 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/1.45, allocations: 77.91 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.45, allocations: 5.688 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.475e-06/1.45, allocations: 0 / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.45, allocations: 0 / 1.089 GB, free: 4.52 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.0005877/1.451, allocations: 426.2 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/1.451, allocations: 9.719 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/1.451, allocations: 88.5 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/1.451, allocations: 258.8 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/1.451, allocations: 159.4 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/1.452, allocations: 151.2 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.964e-05/1.452, allocations: 106.3 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.452, allocations: 76.06 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/1.452, allocations: 151.2 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/1.452, allocations: 151.3 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.326e-05/1.452, allocations: 159.3 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/1.452, allocations: 497.5 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.68e-05/1.452, allocations: 178.5 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/1.452, allocations: 85.19 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/1.452, allocations: 79.28 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.452, allocations: 107.3 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/1.452, allocations: 0.6875 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001125/1.452, allocations: 38.44 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/1.453, allocations: 131.4 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/1.453, allocations: 236.7 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/1.453, allocations: 25.7 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/1.453, allocations: 110.8 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/1.453, allocations: 1.031 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/1.453, allocations: 40.97 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002115/1.453, allocations: 328.2 kB / 1.093 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/1.453, allocations: 62.47 kB / 1.093 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/1.454, allocations: 56.08 kB / 1.093 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/1.454, allocations: 140.3 kB / 1.093 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.454, allocations: 0 / 1.093 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004634/1.454, allocations: 182.8 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.454, allocations: 5.062 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.454, allocations: 0 / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/1.454, allocations: 1.391 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.344e-06/1.454, allocations: 0.875 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.454, allocations: 0 / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/1.454, allocations: 15.03 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/1.455, allocations: 6.609 kB / 1.093 GB, free: 16.91 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.0001816/1.455, allocations: 207.4 kB / 1.093 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/1.455, allocations: 113.4 kB / 1.094 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/1.455, allocations: 115.8 kB / 1.094 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.064e-05/1.455, allocations: 186.1 kB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.223e-05/1.455, allocations: 178.7 kB / 1.094 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-05/1.455, allocations: 182.1 kB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/1.455, allocations: 441.4 kB / 1.095 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-05/1.456, allocations: 106.2 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/1.456, allocations: 102.5 kB / 1.095 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.762e-05/1.456, allocations: 178.7 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/1.456, allocations: 185.8 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.489e-05/1.456, allocations: 177.7 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.879e-05/1.456, allocations: 186.5 kB / 1.096 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/1.456, allocations: 319.9 kB / 1.096 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/1.456, allocations: 191 kB / 1.096 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/1.456, allocations: 177.6 kB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.457, allocations: 111.4 kB / 1.096 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/1.457, allocations: 178.3 kB / 1.096 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/1.457, allocations: 106.3 kB / 1.097 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000195/1.457, allocations: 159.4 kB / 1.097 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.457, allocations: 0 / 1.097 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003249/1.457, allocations: 21.77 kB / 1.097 GB, free: 13.32 MB / 0.8731 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.0002416/1.458, allocations: 191 kB / 1.097 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002308/1.458, allocations: 82.41 kB / 1.097 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.458, allocations: 0 / 1.097 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/1.458, allocations: 4.844 kB / 1.097 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/1.458, allocations: 460.4 kB / 1.097 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/1.459, allocations: 295.7 kB / 1.098 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/1.459, allocations: 0.7154 MB / 1.098 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.142e-05/1.459, allocations: 6.562 kB / 1.098 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/1.459, allocations: 10.08 kB / 1.098 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.459, allocations: 0.9688 kB / 1.098 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of Templates: time 0.004154/1.464, allocations: 0.7386 MB / 1.099 GB, free: 11.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/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