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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00923/0.00923, allocations: 111.2 kB / 15.71 MB, free: 5.992 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.002011/0.002011, allocations: 189.1 kB / 16.64 MB, free: 5.926 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.427/1.427, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.3 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.12 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339/1.34, allocations: 140.4 MB / 1.088 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002375/1.343, allocations: 1.221 MB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002731/1.343, allocations: 57.91 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/1.343, allocations: 0 / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/1.343, allocations: 0.5625 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/1.343, allocations: 12.5 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/1.344, allocations: 13.84 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.62e-05/1.344, allocations: 18.27 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/1.344, allocations: 2.375 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/1.344, allocations: 4.828 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/1.344, allocations: 12.02 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/1.344, allocations: 0 / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/1.344, allocations: 5.094 kB / 1.089 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/1.344, allocations: 54.91 kB / 1.089 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/1.344, allocations: 41.41 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/1.344, allocations: 72.73 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.344, allocations: 1.094 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/1.344, allocations: 0 / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.425e-06/1.344, allocations: 0.5156 kB / 1.089 GB, free: 4.492 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.0004791/1.345, allocations: 429.2 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.345, allocations: 10.06 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/1.345, allocations: 88.28 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.345, allocations: 263.6 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/1.345, allocations: 155.7 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/1.345, allocations: 155.1 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.904e-05/1.345, allocations: 102 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.345, allocations: 76.36 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/1.345, allocations: 151.5 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/1.345, allocations: 154.6 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/1.345, allocations: 159.6 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/1.346, allocations: 497.9 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/1.346, allocations: 174.3 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/1.346, allocations: 88.7 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/1.346, allocations: 76.31 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/1.346, allocations: 110.4 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/1.346, allocations: 1 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.791e-05/1.346, allocations: 38.66 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.346, allocations: 131.3 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/1.346, allocations: 235.8 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/1.346, allocations: 25.7 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/1.346, allocations: 111.6 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/1.346, allocations: 0 / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/1.346, allocations: 41.09 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.347, allocations: 324.8 kB / 1.093 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/1.347, allocations: 58.42 kB / 1.093 GB, free: 17 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/1.347, allocations: 56.39 kB / 1.093 GB, free: 17 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/1.347, allocations: 143.8 kB / 1.093 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.347, allocations: 0 / 1.093 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003955/1.347, allocations: 174.4 kB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.348, allocations: 5.25 kB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.348, allocations: 0.7969 kB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.348, allocations: 0.8438 kB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/1.348, allocations: 0 / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.348, allocations: 1.297 kB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/1.348, allocations: 15.12 kB / 1.093 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/1.348, allocations: 5.703 kB / 1.093 GB, free: 16.89 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.0001593/1.348, allocations: 208 kB / 1.094 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/1.348, allocations: 118 kB / 1.094 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/1.348, allocations: 115.9 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.318e-05/1.348, allocations: 182.2 kB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.421e-05/1.348, allocations: 181.7 kB / 1.094 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.43e-05/1.348, allocations: 181.9 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/1.349, allocations: 441.8 kB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.242e-05/1.349, allocations: 102.5 kB / 1.095 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/1.349, allocations: 102.5 kB / 1.095 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/1.349, allocations: 182.2 kB / 1.095 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/1.349, allocations: 181.8 kB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-05/1.349, allocations: 186.3 kB / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-05/1.349, allocations: 177.8 kB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/1.349, allocations: 319.8 kB / 1.096 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/1.349, allocations: 191.1 kB / 1.096 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/1.349, allocations: 186.3 kB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/1.349, allocations: 106.8 kB / 1.096 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/1.35, allocations: 185.8 kB / 1.097 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/1.35, allocations: 102.6 kB / 1.097 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001765/1.35, allocations: 163.3 kB / 1.097 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.35, allocations: 0 / 1.097 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002815/1.35, allocations: 26.22 kB / 1.097 GB, free: 13.28 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.0002446/1.35, allocations: 179.1 kB / 1.097 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002093/1.351, allocations: 86.39 kB / 1.097 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.351, allocations: 0 / 1.097 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.085e-06/1.351, allocations: 4.906 kB / 1.097 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/1.351, allocations: 461.9 kB / 1.097 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/1.351, allocations: 292.1 kB / 1.098 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/1.352, allocations: 0.7105 MB / 1.098 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.45e-05/1.352, allocations: 9.547 kB / 1.098 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/1.352, allocations: 11.66 kB / 1.098 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.352, allocations: 0 / 1.098 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.003792/1.356, allocations: 0.7394 MB / 1.099 GB, free: 11.57 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