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.424/1.424, 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.001103/0.001103, allocations: 187.9 kB / 326.5 MB, free: 2.246 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.912/1.912, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0008619/0.0008618, allocations: 91.84 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 11.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.4492, allocations: 131.4 MB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/0.4497, allocations: 71.95 kB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002695/0.4524, allocations: 0.8331 MB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4524, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.4525, allocations: 0 / 1.029 GB, free: 11.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005086/0.453, allocations: 367.1 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.453, allocations: 8.031 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.4531, allocations: 4 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.4533, allocations: 178.9 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4533, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.4533, allocations: 4 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.4536, allocations: 85.59 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4536, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4536, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4536, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.4539, allocations: 87.92 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.4545, allocations: 304.8 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.4547, allocations: 70.47 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4548, allocations: 4 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.4548, allocations: 30.56 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.4548, allocations: 0 / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005446/0.4553, allocations: 165.7 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.4554, allocations: 51.41 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.4555, allocations: 108.9 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4555, allocations: 25.7 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.4556, allocations: 92.12 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.4556, allocations: 11.8 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.4556, allocations: 0 / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4558, allocations: 318.8 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4559, allocations: 47.95 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.4561, allocations: 43.97 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4562, allocations: 43.95 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.4562, allocations: 0 / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003188/0.4565, allocations: 113.6 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4566, allocations: 8 kB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4566, allocations: 4 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4566, allocations: 0 / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4567, allocations: 19.98 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4568, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.4569, allocations: 23.86 kB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4569, allocations: 3.984 kB / 1.031 GB, free: 9.059 MB / 0.6823 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 8.686e-05/0.457, allocations: 122.5 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.457, allocations: 4.234 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.457, allocations: 3.906 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.457, allocations: 11.92 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4571, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4571, allocations: 0 / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.4572, allocations: 173.6 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4573, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4574, allocations: 23.98 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4574, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.4574, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4574, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4574, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.4578, allocations: 223.4 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.4578, allocations: 81.02 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.4579, allocations: 8 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.458, allocations: 15.98 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.458, allocations: 11.98 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.458, allocations: 0 / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.4581, allocations: 87.28 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4581, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001972/0.4583, allocations: 4 kB / 1.032 GB, free: 8.207 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 (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.000173/0.4585, allocations: 103.2 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.4588, allocations: 91.92 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4588, allocations: 3.938 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.459, allocations: 47.89 kB / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.4593, allocations: 15.95 kB / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.4596, allocations: 132.5 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.4599, allocations: 0.6848 MB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.46, allocations: 8 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.46, allocations: 7.438 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/0.46, allocations: 0 / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of Templates: time 0.002597/0.4626, allocations: 0.5217 MB / 1.034 GB, free: 6.539 MB / 0.6823 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