Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001093/0.001093, allocations: 173 kB / 498.1 MB, free: 5.746 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.708/1.708, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.0009281/0.0009281, allocations: 92.33 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 13.78 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2738, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.4584, allocations: 148.8 MB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.4586, allocations: 63.97 kB / 1.368 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002244/0.4609, allocations: 0.8025 MB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4609, allocations: 0 / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4609, allocations: 0 / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004592/0.4614, allocations: 371.2 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4614, allocations: 8.031 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.4615, allocations: 7.906 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4616, allocations: 171 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.4616, allocations: 4 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.4616, allocations: 0 / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.4619, allocations: 85.59 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4619, allocations: 0 / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4619, allocations: 3.984 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4619, allocations: 0 / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.4623, allocations: 87.92 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.4628, allocations: 300.9 kB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.463, allocations: 69.2 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.463, allocations: 4 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.4631, allocations: 38.56 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.4631, allocations: 0 / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005574/0.4636, allocations: 161.6 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.4637, allocations: 55.41 kB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.4638, allocations: 104.9 kB / 1.37 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4638, allocations: 25.7 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.4638, allocations: 92.12 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.4639, allocations: 7.844 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.4639, allocations: 0 / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.464, allocations: 318.8 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4642, allocations: 43.95 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.4643, allocations: 39.97 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4645, allocations: 47.95 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4645, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003285/0.4648, allocations: 121.5 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4648, allocations: 4.781 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4648, allocations: 3.938 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4649, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.465, allocations: 23.98 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.465, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.276e-05/0.4651, allocations: 23.91 kB / 1.371 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.4651, allocations: 7.891 kB / 1.371 GB, free: 9.988 MB / 0.8698 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 (3): * Single equations (assignments): 3 * 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 7.017e-05/0.4652, allocations: 114.5 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.4652, allocations: 4 kB / 1.371 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.4653, allocations: 7.906 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4653, allocations: 0 / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4653, allocations: 0 / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4653, allocations: 4 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.4655, allocations: 181.5 kB / 1.371 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4655, allocations: 0 / 1.371 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.4656, allocations: 19.98 kB / 1.372 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4657, allocations: 4 kB / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4657, allocations: 0 / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4657, allocations: 0 / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4657, allocations: 0 / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.4661, allocations: 223.7 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.4661, allocations: 81.11 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.4662, allocations: 0 / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.4663, allocations: 19.98 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.4663, allocations: 12.02 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.4663, allocations: 0 / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.4664, allocations: 87.58 kB / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4664, allocations: 0 / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002046/0.4666, allocations: 12 kB / 1.372 GB, free: 9.133 MB / 0.8698 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 (3): * Single equations (assignments): 3 * 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.0001428/0.4667, allocations: 103 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.4671, allocations: 91.92 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4671, allocations: 4 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.4673, allocations: 43.91 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.4675, allocations: 7.953 kB / 1.372 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.4678, allocations: 148.7 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.468, allocations: 0.6809 MB / 1.373 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.4681, allocations: 0 / 1.373 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.4681, allocations: 7.438 kB / 1.373 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.4681, allocations: 4 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of Templates: time 0.002306/0.4704, allocations: 0.52 MB / 1.373 GB, free: 7.469 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches