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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 176.9 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.0008763, allocations: 87.98 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.468e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3086, allocations: 142.3 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.399, allocations: 148.1 MB / 1.351 GB, free: 18.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/1.399, allocations: 71.52 kB / 1.351 GB, free: 18.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003486/1.403, allocations: 1.141 MB / 1.352 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.565e-06/1.403, allocations: 0.6562 kB / 1.352 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.403, allocations: 2.594 kB / 1.352 GB, free: 33.84 MB / 0.8386 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.0003095/1.403, allocations: 378.9 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.403, allocations: 8.719 kB / 1.352 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/1.403, allocations: 93.53 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/1.403, allocations: 268.8 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/1.403, allocations: 153.4 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/1.403, allocations: 159.9 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.525e-05/1.404, allocations: 150.6 kB / 1.353 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.685e-05/1.404, allocations: 102.9 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.404, allocations: 83.27 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/1.404, allocations: 150.6 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.674e-05/1.404, allocations: 152.5 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/1.404, allocations: 487.3 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/1.404, allocations: 171 kB / 1.354 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/1.404, allocations: 84.02 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/1.404, allocations: 76.59 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.404, allocations: 106.4 kB / 1.354 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/1.404, allocations: 0 / 1.354 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.596e-05/1.404, allocations: 46.02 kB / 1.354 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/1.404, allocations: 56.06 kB / 1.354 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/1.405, allocations: 195.6 kB / 1.355 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/1.405, allocations: 25.7 kB / 1.355 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/1.405, allocations: 114.4 kB / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/1.405, allocations: 0 / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/1.405, allocations: 0 / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.405, allocations: 324.3 kB / 1.355 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/1.405, allocations: 44.73 kB / 1.355 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/1.405, allocations: 164.7 kB / 1.355 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/1.406, allocations: 115.1 kB / 1.355 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.406, allocations: 5.344 kB / 1.355 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000687/1.406, allocations: 261.1 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.406, allocations: 3.969 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.407, allocations: 9.016 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.407, allocations: 4.531 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/1.407, allocations: 48.61 kB / 1.356 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.407, allocations: 17.05 kB / 1.356 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/1.407, allocations: 22.06 kB / 1.356 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/1.407, allocations: 12.88 kB / 1.356 GB, free: 30.34 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.407, allocations: 189.3 kB / 1.356 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/1.407, allocations: 113.4 kB / 1.356 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/1.407, allocations: 116.2 kB / 1.356 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-05/1.407, allocations: 188.8 kB / 1.356 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-05/1.407, allocations: 177 kB / 1.356 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-05/1.407, allocations: 182.2 kB / 1.357 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/1.408, allocations: 421 kB / 1.357 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/1.408, allocations: 101.6 kB / 1.357 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/1.408, allocations: 101.6 kB / 1.357 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.409e-05/1.408, allocations: 188.7 kB / 1.357 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/1.408, allocations: 177 kB / 1.358 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.892e-05/1.408, allocations: 184.2 kB / 1.358 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.221e-05/1.408, allocations: 180.9 kB / 1.358 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/1.408, allocations: 316.1 kB / 1.358 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/1.408, allocations: 195 kB / 1.358 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/1.408, allocations: 177.8 kB / 1.359 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/1.408, allocations: 101 kB / 1.359 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/1.408, allocations: 189.3 kB / 1.359 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/1.408, allocations: 104.9 kB / 1.359 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000108/1.408, allocations: 150 kB / 1.359 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.408, allocations: 0 / 1.359 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002938/1.409, allocations: 27.09 kB / 1.359 GB, free: 26.83 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/1.409, allocations: 175.5 kB / 1.359 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001602/1.409, allocations: 84.05 kB / 1.359 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.409, allocations: 4.406 kB / 1.359 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/1.409, allocations: 4 kB / 1.359 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/1.409, allocations: 0.5226 MB / 1.36 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/1.41, allocations: 223.9 kB / 1.36 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/1.41, allocations: 0.7114 MB / 1.361 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.93e-05/1.41, allocations: 18.52 kB / 1.361 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/1.41, allocations: 11.98 kB / 1.361 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of SimCode: time 9.82e-07/1.41, allocations: 0 / 1.361 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of Templates: time 0.003027/1.413, allocations: 0.7243 MB / 1.362 GB, free: 25.16 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches