Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 184 kB / 316.3 MB, free: 3.238 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.643/1.643, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.00102/0.00102, allocations: 86.53 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.308e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1972, allocations: 106.4 MB / 0.8853 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6653/0.8625, allocations: 131.6 MB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.8628, allocations: 65.45 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002478/0.8653, allocations: 0.8439 MB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8653, allocations: 0 / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.8654, allocations: 0 / 1.015 GB, free: 5.395 MB / 0.6355 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.0005068/0.8659, allocations: 358 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.8659, allocations: 8.031 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.866, allocations: 7.906 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.8662, allocations: 167 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.8662, allocations: 4 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.8662, allocations: 0 / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/0.8663, allocations: 19.19 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.044e-05/0.8664, allocations: 41.52 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8664, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.8664, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.8665, allocations: 7.984 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.867, allocations: 280.6 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.8671, allocations: 34.33 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.8671, allocations: 16.8 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.8671, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.8671, allocations: 30.56 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.8672, allocations: 0 / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001477/0.8673, allocations: 52.12 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.8673, allocations: 55.39 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.8674, allocations: 104.6 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.8674, allocations: 29.7 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.8675, allocations: 87.77 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.8675, allocations: 11.77 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.8675, allocations: 0 / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.8676, allocations: 318.8 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.8676, allocations: 7.312 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.8677, allocations: 8.5 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.8677, allocations: 7.562 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.8677, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.916e-05/0.8678, allocations: 60.34 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8678, allocations: 8 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.8678, allocations: 0 / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.8678, allocations: 0 / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.868, allocations: 19.98 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.868, allocations: 3.938 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.8681, allocations: 25.66 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.8681, allocations: 0 / 1.016 GB, free: 3.535 MB / 0.6355 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 () * 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 5.797e-05/0.8682, allocations: 104.9 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.8682, allocations: 4 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.8682, allocations: 7.656 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.8682, allocations: 0 / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8682, allocations: 0 / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.8682, allocations: 3.938 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.8684, allocations: 152.4 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8684, allocations: 3.984 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.8685, allocations: 19.98 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8685, allocations: 192 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.8685, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.8685, allocations: 1 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8685, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.8687, allocations: 158.2 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.8687, allocations: 81.06 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.8687, allocations: 4 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.8689, allocations: 15.98 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.8689, allocations: 7.609 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.8689, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.869, allocations: 86.97 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.869, allocations: 4 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002/0.8692, allocations: 7.938 kB / 1.017 GB, free: 2.824 MB / 0.6355 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 (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.0001367/0.8693, allocations: 103.2 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.8694, allocations: 19.5 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.8694, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.8695, allocations: 15.81 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.8696, allocations: 4 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.8699, allocations: 79.08 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.8701, allocations: 0.6885 MB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.8701, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.8701, allocations: 7.438 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of SimCode: time 1.462e-06/0.8702, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of Templates: time 0.002175/0.8723, allocations: 0.4943 MB / 1.018 GB, free: 1.395 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches