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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.49/2.49, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001014/0.001014, allocations: 178.2 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008466/0.0008467, allocations: 95.88 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.809e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3316, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.389, allocations: 149.6 MB / 1.365 GB, free: 4.383 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.389, allocations: 82.36 kB / 1.365 GB, free: 4.332 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00295/1.392, allocations: 1.163 MB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.036e-06/1.392, allocations: 3.938 kB / 1.366 GB, free: 3.285 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.025e-05/1.392, allocations: 0 / 1.366 GB, free: 3.285 MB / 0.823 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.0003469/1.393, allocations: 372.8 kB / 1.366 GB, free: 2.879 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.393, allocations: 8.031 kB / 1.366 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/1.393, allocations: 97.84 kB / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/1.393, allocations: 270 kB / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/1.393, allocations: 157.5 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/1.393, allocations: 161.6 kB / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.664e-05/1.393, allocations: 101 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/1.393, allocations: 75.28 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/1.393, allocations: 154.6 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.267e-05/1.394, allocations: 150.6 kB / 1.368 GB, free: 1.684 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.14e-05/1.394, allocations: 154.5 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/1.394, allocations: 0.5021 MB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.815e-05/1.394, allocations: 169.1 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/1.394, allocations: 80.14 kB / 1.368 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/1.394, allocations: 75.28 kB / 1.368 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/1.394, allocations: 113.8 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.394, allocations: 0 / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 9.862e-05/1.394, allocations: 44.62 kB / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/1.394, allocations: 130.7 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/1.395, allocations: 200.6 kB / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/1.395, allocations: 29.83 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/1.395, allocations: 117.8 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/1.395, allocations: 0 / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/1.395, allocations: 3.75 kB / 1.369 GB, free: 48 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.395, allocations: 326 kB / 1.369 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/1.395, allocations: 48.14 kB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/1.395, allocations: 179.1 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/1.395, allocations: 78.06 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.395, allocations: 1.969 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003871/1.396, allocations: 233.7 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.396, allocations: 8 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.396, allocations: 8.062 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.396, allocations: 8 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/1.396, allocations: 43.91 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/1.396, allocations: 7.938 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/1.396, allocations: 27.12 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/1.396, allocations: 19.55 kB / 1.37 GB, free: 15.05 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.0001867/1.396, allocations: 190.9 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/1.397, allocations: 108.9 kB / 1.37 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/1.397, allocations: 116.9 kB / 1.37 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-05/1.397, allocations: 184.2 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.137e-05/1.397, allocations: 180.3 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-05/1.397, allocations: 184.2 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/1.397, allocations: 441.8 kB / 1.371 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.063e-05/1.397, allocations: 112.9 kB / 1.371 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/1.397, allocations: 103.8 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.866e-05/1.397, allocations: 180.2 kB / 1.372 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/1.397, allocations: 180.2 kB / 1.372 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-05/1.398, allocations: 180.3 kB / 1.372 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.125e-05/1.398, allocations: 184.2 kB / 1.372 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/1.398, allocations: 314.5 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/1.398, allocations: 201.2 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/1.398, allocations: 184.2 kB / 1.373 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/1.398, allocations: 104.9 kB / 1.373 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/1.398, allocations: 180.3 kB / 1.373 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/1.398, allocations: 105.9 kB / 1.373 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001303/1.398, allocations: 152.9 kB / 1.373 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.398, allocations: 0 / 1.373 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002955/1.399, allocations: 31.12 kB / 1.373 GB, free: 11.34 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.0002058/1.399, allocations: 186.5 kB / 1.374 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002154/1.399, allocations: 93.58 kB / 1.374 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.399, allocations: 0 / 1.374 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/1.399, allocations: 0 / 1.374 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/1.399, allocations: 0.5237 MB / 1.374 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/1.4, allocations: 228.4 kB / 1.374 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/1.4, allocations: 0.7132 MB / 1.375 GB, free: 9.562 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.297e-05/1.4, allocations: 12.69 kB / 1.375 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/1.4, allocations: 18.62 kB / 1.375 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.4, allocations: 4 kB / 1.375 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of Templates: time 0.003008/1.403, allocations: 0.8203 MB / 1.376 GB, free: 8.719 MB / 0.8386 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