Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001266/0.001266, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0014/0.0014, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 8 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8449/0.8453, allocations: 153.7 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001384/0.8467, allocations: 0.9331 MB / 1.022 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002094/0.847, allocations: 51.83 kB / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.847, allocations: 4 kB / 1.022 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.847, allocations: 0 / 1.022 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.8472, allocations: 7.984 kB / 1.022 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.8473, allocations: 7.984 kB / 1.022 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.369e-05/0.8474, allocations: 4 kB / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.8475, allocations: 7.984 kB / 1.022 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.8475, allocations: 7.922 kB / 1.022 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.8475, allocations: 4 kB / 1.022 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.8476, allocations: 0 / 1.022 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.8476, allocations: 4 kB / 1.022 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.8477, allocations: 47.89 kB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.8477, allocations: 41.64 kB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.8479, allocations: 41.92 kB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.8479, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.797e-06/0.8479, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.8479, allocations: 3.938 kB / 1.022 GB, free: 15.97 MB / 0.7794 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.0004436/0.8484, allocations: 418.5 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.8484, allocations: 15.98 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.8485, allocations: 87.19 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.8487, allocations: 254.2 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.8487, allocations: 154.6 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.8488, allocations: 154.5 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.319e-05/0.8489, allocations: 116.8 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.849, allocations: 75.28 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.849, allocations: 154.6 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.716e-05/0.8491, allocations: 150.6 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.8492, allocations: 154.6 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.8496, allocations: 493.7 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.8497, allocations: 181.1 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.8497, allocations: 75.28 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.8498, allocations: 105.8 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.8498, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001137/0.8499, allocations: 45.45 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.85, allocations: 130.7 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.8503, allocations: 238.9 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.8503, allocations: 25.7 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.8504, allocations: 104.3 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.8504, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.8504, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8506, allocations: 330.8 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.8507, allocations: 52.16 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/0.8508, allocations: 56.33 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.459e-05/0.8509, allocations: 64.7 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8509, allocations: 4.031 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003527/0.8513, allocations: 174.3 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8513, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8513, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8513, allocations: 3.953 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.8513, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8513, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.8514, allocations: 19.69 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.8514, allocations: 4 kB / 1.026 GB, free: 11.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.8516, allocations: 213.1 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.8517, allocations: 112.8 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/0.8518, allocations: 113.5 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001256/0.8519, allocations: 192.2 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.692e-05/0.852, allocations: 176.3 kB / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-05/0.8521, allocations: 184.2 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.8524, allocations: 441.2 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.335e-05/0.8525, allocations: 101 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-05/0.8525, allocations: 104.9 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-05/0.8526, allocations: 180.3 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.8527, allocations: 180.2 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-05/0.8528, allocations: 184.2 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.359e-05/0.8529, allocations: 188.2 kB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.853, allocations: 307.7 kB / 1.028 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.8531, allocations: 197.8 kB / 1.028 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.8533, allocations: 184.3 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.8534, allocations: 101 kB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.8535, allocations: 184.2 kB / 1.029 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.8535, allocations: 109.3 kB / 1.029 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000126/0.8537, allocations: 160.6 kB / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8537, allocations: 0 / 1.029 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002686/0.8539, allocations: 23.94 kB / 1.029 GB, free: 8.199 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 (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.0001696/0.8541, allocations: 178.5 kB / 1.029 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.8543, allocations: 87.83 kB / 1.029 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.8543, allocations: 0 / 1.029 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.8543, allocations: 0 / 1.029 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.8547, allocations: 0.5185 MB / 1.03 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.8552, allocations: 315.8 kB / 1.03 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.8557, allocations: 0.7121 MB / 1.031 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.8558, allocations: 11.98 kB / 1.031 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.8558, allocations: 11.42 kB / 1.031 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of SimCode: time 1.142e-06/0.8558, allocations: 0 / 1.031 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of Templates: time 0.003334/0.8591, allocations: 0.683 MB / 1.032 GB, free: 5.625 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches