Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 187.5 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009518/0.0009521, allocations: 85.3 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 10.22 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.4437, allocations: 131.3 MB / 1.028 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.444, allocations: 83.95 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002885/0.4469, allocations: 1.115 MB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.107e-06/0.447, allocations: 7.938 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.447, allocations: 7.938 kB / 1.029 GB, free: 11.81 MB / 0.6823 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.0004402/0.4474, allocations: 406.8 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4475, allocations: 8.031 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.4476, allocations: 91.17 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.4478, allocations: 258.1 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.4479, allocations: 158.6 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.4479, allocations: 166.6 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.169e-05/0.448, allocations: 101 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.4481, allocations: 75.28 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-05/0.4481, allocations: 150.6 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/0.4482, allocations: 150.6 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.4483, allocations: 154.5 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.4487, allocations: 0.5133 MB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.4488, allocations: 166 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.4488, allocations: 75.28 kB / 1.032 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.4489, allocations: 109.8 kB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.4489, allocations: 0 / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.151e-05/0.449, allocations: 45.45 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.4491, allocations: 126.7 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.4493, allocations: 206.1 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4493, allocations: 33.7 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.4494, allocations: 108.1 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.4494, allocations: 7.938 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.4494, allocations: 4 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4496, allocations: 330.8 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.4497, allocations: 48.31 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.4499, allocations: 172.7 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.45, allocations: 63.89 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.45, allocations: 4 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004263/0.4504, allocations: 241.5 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4504, allocations: 12.09 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4505, allocations: 4 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4505, allocations: 8 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4507, allocations: 47.91 kB / 1.033 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4507, allocations: 11.94 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.4508, allocations: 19.69 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.4508, allocations: 16 kB / 1.033 GB, free: 7.504 MB / 0.6823 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 () * Number of clocked 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.0001723/0.451, allocations: 219.2 kB / 1.034 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.981e-05/0.4511, allocations: 120.8 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.4511, allocations: 117.5 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.902e-05/0.4512, allocations: 184.2 kB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.122e-05/0.4513, allocations: 180.3 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-05/0.4514, allocations: 180.2 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.4518, allocations: 437.2 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.933e-05/0.4518, allocations: 105 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.4519, allocations: 104.9 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.223e-05/0.452, allocations: 180.2 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.4521, allocations: 196.2 kB / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.629e-05/0.4521, allocations: 176.3 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-05/0.4522, allocations: 180.3 kB / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.4524, allocations: 311.7 kB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.4525, allocations: 197.8 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4526, allocations: 180.2 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.4527, allocations: 101.8 kB / 1.036 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.4528, allocations: 188.2 kB / 1.037 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.4529, allocations: 101 kB / 1.037 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001386/0.453, allocations: 160.6 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.453, allocations: 0 / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003486/0.4534, allocations: 28 kB / 1.037 GB, free: 3.715 MB / 0.6823 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.0001988/0.4536, allocations: 174.5 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.4538, allocations: 99.69 kB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4538, allocations: 0 / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.4538, allocations: 4 kB / 1.037 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.4541, allocations: 0.5276 MB / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.4546, allocations: 318.5 kB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.455, allocations: 0.7121 MB / 1.039 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.455, allocations: 19.83 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.455, allocations: 15.44 kB / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4551, allocations: 0 / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of Templates: time 0.003278/0.4583, allocations: 0.8157 MB / 1.039 GB, free: 0.9688 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches