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.004934/0.004934, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001083/0.001084, allocations: 198.6 kB / 16.68 MB, free: 5.98 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.614/2.614, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 62.59 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3993, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002334/0.4016, allocations: 1.219 MB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.4019, allocations: 55.8 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.402, allocations: 0 / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.402, allocations: 0 / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.4022, allocations: 4 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.4023, allocations: 11.92 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.234e-05/0.4024, allocations: 19.92 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.4025, allocations: 7.984 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.828e-05/0.4026, allocations: 8 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.4026, allocations: 8.688 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.4026, allocations: 0 / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.4027, allocations: 11.98 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.836e-05/0.4028, allocations: 48.44 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.4029, allocations: 39.69 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.403, allocations: 71.58 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4031, allocations: 4 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4031, allocations: 0 / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4031, allocations: 0 / 1.089 GB, free: 0 / 0.8419 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.0004648/0.4035, allocations: 430.7 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4036, allocations: 12.03 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.745e-05/0.4037, allocations: 88.12 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.4039, allocations: 267.4 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.4039, allocations: 154.7 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.404, allocations: 162.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.589e-05/0.4041, allocations: 109.3 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.4041, allocations: 75.28 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.4042, allocations: 150.6 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/0.4042, allocations: 154.6 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.413e-05/0.4043, allocations: 158.6 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.4046, allocations: 493.8 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.4047, allocations: 173 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.4047, allocations: 80.14 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.4048, allocations: 79.28 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.4048, allocations: 109.8 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4048, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.641e-05/0.4049, allocations: 41.61 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.405, allocations: 130.6 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.4053, allocations: 235 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4053, allocations: 25.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.4054, allocations: 112.1 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-06/0.4054, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.4054, allocations: 41.69 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4056, allocations: 322.8 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.4057, allocations: 63.89 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.4058, allocations: 61.08 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.4059, allocations: 131.8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4059, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003218/0.4063, allocations: 185.4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4063, allocations: 8.062 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4063, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4063, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-06/0.4063, allocations: 3.984 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4063, allocations: 4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.4064, allocations: 15.78 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4064, allocations: 8 kB / 1.093 GB, free: 11.77 MB / 0.8575 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.0001341/0.4065, allocations: 205 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.4066, allocations: 112.9 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.4067, allocations: 121.4 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-05/0.4068, allocations: 181.7 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.277e-05/0.4068, allocations: 180.2 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.437e-05/0.4069, allocations: 180.2 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.4071, allocations: 441.1 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.4072, allocations: 108.9 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.4072, allocations: 105 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.833e-05/0.4073, allocations: 180.3 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.486e-05/0.4074, allocations: 184.1 kB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000112/0.4075, allocations: 180.3 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.307e-05/0.4076, allocations: 188.2 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.408, allocations: 319.8 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.4082, allocations: 190 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.4083, allocations: 184.3 kB / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4084, allocations: 108.9 kB / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.4087, allocations: 180.3 kB / 1.096 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.4087, allocations: 104.9 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003102/0.409, allocations: 164.6 kB / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4091, allocations: 0 / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003146/0.4094, allocations: 20 kB / 1.097 GB, free: 7.984 MB / 0.8575 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.000249/0.4096, allocations: 170.5 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4098, allocations: 83.89 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4098, allocations: 0 / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-06/0.4098, allocations: 4 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.4103, allocations: 455.7 kB / 1.097 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.4109, allocations: 298.1 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.4114, allocations: 0.7119 MB / 1.098 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.4115, allocations: 8 kB / 1.098 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.4115, allocations: 11.44 kB / 1.098 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.4115, allocations: 0 / 1.098 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of Templates: time 0.004617/0.4161, allocations: 0.7382 MB / 1.099 GB, free: 5.457 MB / 0.8575 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