Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006096/0.006096, allocations: 99.3 kB / 15.73 MB, free: 5.602 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.00119/0.00119, allocations: 190.1 kB / 16.68 MB, free: 5.523 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.89 kB / 1.018 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332/1.333, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003024/1.336, allocations: 1.222 MB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003911/1.337, allocations: 57.72 kB / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/1.337, allocations: 0 / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.018e-05/1.337, allocations: 0 / 1.168 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001875/1.337, allocations: 7.938 kB / 1.168 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/1.337, allocations: 15.97 kB / 1.168 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/1.337, allocations: 15.94 kB / 1.168 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/1.337, allocations: 7.984 kB / 1.168 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/1.337, allocations: 7.984 kB / 1.168 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/1.337, allocations: 8.688 kB / 1.168 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/1.337, allocations: 0 / 1.168 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/1.338, allocations: 11.98 kB / 1.168 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/1.338, allocations: 40.45 kB / 1.168 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/1.338, allocations: 43.69 kB / 1.168 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/1.338, allocations: 76.14 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.338, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.695e-06/1.338, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.064e-05/1.338, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 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.0006294/1.339, allocations: 430.6 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/1.339, allocations: 12.62 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/1.339, allocations: 96.06 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/1.339, allocations: 267.4 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/1.339, allocations: 166.6 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/1.339, allocations: 150.6 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/1.339, allocations: 109 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/1.339, allocations: 75.28 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/1.34, allocations: 150.6 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.789e-05/1.34, allocations: 154.6 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/1.34, allocations: 158.4 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/1.34, allocations: 0.49 MB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/1.34, allocations: 171.5 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/1.34, allocations: 88.19 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/1.34, allocations: 79.27 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.749e-05/1.341, allocations: 109.8 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 7.12e-07/1.341, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001263/1.341, allocations: 45.53 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.341, allocations: 130.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/1.341, allocations: 223.1 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.341, allocations: 29.7 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/1.341, allocations: 112.1 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/1.341, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/1.341, allocations: 33.7 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002304/1.342, allocations: 326.8 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.342, allocations: 63.89 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/1.342, allocations: 57.08 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/1.342, allocations: 138.6 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.342, allocations: 4.031 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004269/1.343, allocations: 173.5 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.343, allocations: 4 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.343, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.343, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.654e-06/1.343, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.343, allocations: 3.984 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.336e-05/1.343, allocations: 15.84 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/1.343, allocations: 4 kB / 1.172 GB, free: 14.13 MB / 0.9044 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.0001994/1.343, allocations: 211.2 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/1.343, allocations: 124.8 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/1.343, allocations: 109.5 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/1.343, allocations: 180.2 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001157/1.343, allocations: 184.2 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/1.344, allocations: 180.3 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/1.344, allocations: 445.1 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.965e-05/1.344, allocations: 101 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/1.344, allocations: 105 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/1.344, allocations: 184.2 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/1.344, allocations: 176.3 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.896e-05/1.344, allocations: 184.2 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.554e-05/1.345, allocations: 176.3 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/1.345, allocations: 331.6 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/1.345, allocations: 190 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.345, allocations: 188.1 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/1.345, allocations: 113.3 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.345, allocations: 176.3 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/1.345, allocations: 105 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001514/1.346, allocations: 152.7 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.346, allocations: 0 / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003104/1.346, allocations: 20 kB / 1.175 GB, free: 10.35 MB / 0.9044 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.000297/1.346, allocations: 186.4 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002083/1.346, allocations: 87.91 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.346, allocations: 0 / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-06/1.346, allocations: 7.938 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/1.347, allocations: 459.6 kB / 1.176 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/1.348, allocations: 298 kB / 1.176 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/1.348, allocations: 0.7085 MB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.887e-05/1.348, allocations: 11.98 kB / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/1.348, allocations: 7.438 kB / 1.177 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/1.348, allocations: 4 kB / 1.177 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of Templates: time 0.004183/1.352, allocations: 0.7343 MB / 1.178 GB, free: 7.797 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches