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.001811/0.001811, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002119/0.002119, allocations: 189.5 kB / 16.25 MB, free: 6.637 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.573/1.573, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.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.945/2.945, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9404/0.9425, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003456/0.946, allocations: 1.272 MB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003202/0.9464, allocations: 59.7 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.9464, allocations: 0 / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.9465, allocations: 4 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.9466, allocations: 7.984 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.9469, allocations: 11.98 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.947, allocations: 15.92 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.211e-05/0.9471, allocations: 8 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.9471, allocations: 4 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.9472, allocations: 13.48 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.9472, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.9473, allocations: 7.984 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.9474, allocations: 52.39 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.9475, allocations: 39.73 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.9477, allocations: 73.56 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9477, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9477, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.9478, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 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.0006374/0.9484, allocations: 434.7 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.9485, allocations: 8.031 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.888e-05/0.9486, allocations: 88.12 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.9489, allocations: 274.7 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.9489, allocations: 150.6 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.9491, allocations: 150.6 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.694e-05/0.9492, allocations: 101 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.458e-05/0.9492, allocations: 83.28 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.9493, allocations: 154.6 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.186e-05/0.9494, allocations: 158.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.9495, allocations: 154.5 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.9499, allocations: 497.7 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.95, allocations: 173.1 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.9501, allocations: 80.14 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.9501, allocations: 79.27 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.143e-05/0.9502, allocations: 109.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.9502, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001287/0.9504, allocations: 41.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.9505, allocations: 138.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.9508, allocations: 227 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.9508, allocations: 25.7 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.9509, allocations: 116 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-06/0.951, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.951, allocations: 37.64 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.9512, allocations: 330.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.9513, allocations: 59.97 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.9514, allocations: 61.08 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.9517, allocations: 135.3 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9517, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004159/0.9521, allocations: 177.4 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.9521, allocations: 7.984 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.9521, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.9522, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.9522, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.9522, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.9523, allocations: 19.81 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.9523, allocations: 7.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 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.0001809/0.9525, allocations: 205.1 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.9526, allocations: 112.8 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/0.9527, allocations: 113.5 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.379e-05/0.9528, allocations: 188.2 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.424e-05/0.9529, allocations: 180.3 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.345e-05/0.953, allocations: 176.3 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.9533, allocations: 445.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.792e-05/0.9534, allocations: 101 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.9534, allocations: 112.9 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.513e-05/0.9535, allocations: 180.3 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/0.9536, allocations: 180.3 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-05/0.9537, allocations: 180.2 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.021e-05/0.9538, allocations: 180.2 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.954, allocations: 319.5 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.9541, allocations: 193.9 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.9542, allocations: 184.2 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.9543, allocations: 105.3 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.9544, allocations: 188.2 kB / 1.025 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.9545, allocations: 105 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001616/0.9547, allocations: 160.6 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9547, allocations: 4 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002727/0.955, allocations: 23.94 kB / 1.026 GB, free: 9.102 MB / 0.7794 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.0002237/0.9552, allocations: 171.1 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.9554, allocations: 79.97 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9554, allocations: 3.938 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.9554, allocations: 0 / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.9559, allocations: 463.8 kB / 1.026 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.9564, allocations: 324.5 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.9568, allocations: 0.7119 MB / 1.027 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.9568, allocations: 11.98 kB / 1.027 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.9569, allocations: 7.438 kB / 1.027 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9569, allocations: 0 / 1.027 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of Templates: time 0.004003/0.9609, allocations: 0.7326 MB / 1.028 GB, free: 6.559 MB / 0.7794 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=400 -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