Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001422/0.001422, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001639/0.001639, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.466/1.466, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.017/3.017, allocations: 469.4 MB / 0.7423 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 66.84 kB / 0.9083 GB, free: 34.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4639, allocations: 159.1 MB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003409/0.4674, allocations: 1.276 MB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.4677, allocations: 55.77 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.4678, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.4678, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.468, allocations: 7.984 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.4682, allocations: 15.98 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.4683, allocations: 11.94 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.09e-05/0.4684, allocations: 7.984 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.4684, allocations: 4 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.4685, allocations: 25.42 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.4685, allocations: 0 / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.4686, allocations: 7.984 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.4688, allocations: 44.45 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.4688, allocations: 39.69 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.469, allocations: 48.11 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.469, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.158e-06/0.469, allocations: 4 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.469, allocations: 3.938 kB / 1.065 GB, free: 13.34 MB / 0.8262 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.0005657/0.4696, allocations: 426.8 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4696, allocations: 12.03 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.4697, allocations: 88.03 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.47, allocations: 266.8 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/0.4701, allocations: 154.6 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.4701, allocations: 158.6 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.4702, allocations: 105 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.4703, allocations: 75.28 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-05/0.4703, allocations: 150.6 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.4704, allocations: 154.5 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.4705, allocations: 158.5 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.4709, allocations: 0.4938 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.471, allocations: 169.1 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.4711, allocations: 80.14 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.4711, allocations: 75.28 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/0.4712, allocations: 117.8 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.4712, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001354/0.4713, allocations: 43.11 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.4714, allocations: 126.7 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.4717, allocations: 227 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4717, allocations: 25.7 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.4718, allocations: 112 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.4718, allocations: 4 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.4719, allocations: 37.7 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4721, allocations: 334.7 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.751e-05/0.4722, allocations: 59.95 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.4723, allocations: 55.95 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.4725, allocations: 138.2 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4725, allocations: 0 / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004015/0.4729, allocations: 172.1 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4729, allocations: 9.781 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4729, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4729, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-06/0.473, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.473, allocations: 3.984 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.473, allocations: 15.69 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.4731, allocations: 11.94 kB / 1.069 GB, free: 9.121 MB / 0.8262 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.0001622/0.4732, allocations: 205.1 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-05/0.4733, allocations: 116.7 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.4734, allocations: 113.5 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.189e-05/0.4735, allocations: 176.3 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001043/0.4736, allocations: 188.2 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.922e-05/0.4737, allocations: 180.3 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.474, allocations: 437.1 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/0.4741, allocations: 105 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.4741, allocations: 109 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.177e-05/0.4742, allocations: 184.2 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.651e-05/0.4743, allocations: 176.3 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-05/0.4744, allocations: 184.2 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.998e-05/0.4744, allocations: 180.5 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.4746, allocations: 319.6 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4747, allocations: 197.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.873e-05/0.4748, allocations: 184.2 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4749, allocations: 105 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.475, allocations: 184.2 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4751, allocations: 101 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001513/0.4753, allocations: 159.1 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4753, allocations: 4 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002721/0.4755, allocations: 19.98 kB / 1.073 GB, free: 5.348 MB / 0.8262 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.0002075/0.4758, allocations: 174.5 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.4759, allocations: 83.95 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4759, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.4759, allocations: 7.938 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.4764, allocations: 455.7 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.4769, allocations: 348 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4772, allocations: 0.7119 MB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.4773, allocations: 7.438 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4773, allocations: 0 / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of Templates: time 0.003498/0.4808, allocations: 1.124 MB / 1.075 GB, free: 2.387 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches