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.01018/0.01018, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.002005/0.002005, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.719/2.719, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.08 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4013, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002953/0.4043, allocations: 1.211 MB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003112/0.4047, allocations: 55.81 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.4047, allocations: 0 / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.4048, allocations: 0 / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.4049, allocations: 11.98 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.4051, allocations: 7.938 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.4052, allocations: 19.91 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.4053, allocations: 0 / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.732e-05/0.4053, allocations: 8 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.4054, allocations: 16.67 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.4054, allocations: 4 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.4055, allocations: 4 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.4056, allocations: 52.42 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.4056, allocations: 39.69 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.4058, allocations: 71.66 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4058, allocations: 0 / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4058, allocations: 3.938 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.4058, allocations: 0 / 1.089 GB, free: 4 kB / 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.0004928/0.4063, allocations: 426.8 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4063, allocations: 8.031 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.4064, allocations: 88.03 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.4066, allocations: 271.4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.4067, allocations: 158.6 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.4067, allocations: 150.6 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.432e-05/0.4068, allocations: 105.3 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.4068, allocations: 75.28 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.4069, allocations: 150.6 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.407, allocations: 154.6 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.407, allocations: 158.6 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.4073, allocations: 0.49 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.4074, allocations: 173 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.4075, allocations: 84.14 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.4075, allocations: 75.28 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.4076, allocations: 109.8 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4076, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.949e-05/0.4077, allocations: 41.45 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.4077, allocations: 126.7 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.408, allocations: 235 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.408, allocations: 25.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.4081, allocations: 108 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.4081, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.4082, allocations: 49.69 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4083, allocations: 322.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/0.4084, allocations: 55.91 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.4084, allocations: 59.95 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4086, allocations: 136.7 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4086, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003518/0.409, allocations: 177.4 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.409, allocations: 8 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.409, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.409, allocations: 64 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.409, allocations: 7.938 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.409, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.4091, allocations: 19.69 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4091, allocations: 4 kB / 1.093 GB, free: 11.79 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.0001319/0.4093, allocations: 205 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.4093, allocations: 112.8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.4094, allocations: 121.5 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-05/0.4095, allocations: 185.7 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-05/0.4095, allocations: 184.2 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.09e-05/0.4096, allocations: 176.3 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.4099, allocations: 441.1 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-05/0.4099, allocations: 104.9 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.4099, allocations: 108.9 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.765e-05/0.41, allocations: 184.2 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/0.4101, allocations: 180.3 kB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.728e-05/0.4102, allocations: 184.3 kB / 1.095 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.602e-05/0.4102, allocations: 180.2 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.4104, allocations: 319.9 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4105, allocations: 193.9 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/0.4106, allocations: 180.3 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.4107, allocations: 104.9 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.4107, allocations: 176.3 kB / 1.096 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.4108, allocations: 112.9 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001233/0.4109, allocations: 164.6 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4109, allocations: 0 / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002409/0.4112, allocations: 16 kB / 1.097 GB, free: 8.012 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.0001749/0.4113, allocations: 174.5 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.4115, allocations: 83.89 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4115, allocations: 0 / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.4115, allocations: 4.062 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.4119, allocations: 457.6 kB / 1.097 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.4124, allocations: 302.2 kB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4127, allocations: 0.708 MB / 1.098 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.4127, allocations: 11.98 kB / 1.098 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.4127, allocations: 15.38 kB / 1.098 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.4127, allocations: 0 / 1.098 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of Templates: time 0.003384/0.4161, allocations: 0.7422 MB / 1.099 GB, free: 5.469 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