Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.286/2.286, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001232/0.001232, allocations: 183.9 kB / 0.4902 GB, free: 2.262 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.528/1.528, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001081/0.001081, allocations: 110.1 kB / 0.9396 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0007092/0.0007094, allocations: 11.03 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3447, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.5427, allocations: 149.6 MB / 1.375 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.543, allocations: 67.97 kB / 1.375 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002471/0.5455, allocations: 0.802 MB / 1.376 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5455, allocations: 0 / 1.376 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.5456, allocations: 8 kB / 1.376 GB, free: 3.027 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.0004943/0.5461, allocations: 367.2 kB / 1.377 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5461, allocations: 8.562 kB / 1.377 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.5462, allocations: 0 / 1.377 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.5464, allocations: 178.8 kB / 1.377 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.5464, allocations: 7.938 kB / 1.377 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.5464, allocations: 4 kB / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.5467, allocations: 73.66 kB / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5468, allocations: 0 / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5468, allocations: 4 kB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5468, allocations: 4 kB / 1.377 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.5471, allocations: 83.92 kB / 1.377 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.5477, allocations: 308.8 kB / 1.377 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.548, allocations: 67.41 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.548, allocations: 0 / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.548, allocations: 30.56 kB / 1.377 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.548, allocations: 4 kB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005564/0.5486, allocations: 161.6 kB / 1.377 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.5487, allocations: 55.41 kB / 1.377 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.5487, allocations: 108.8 kB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.5488, allocations: 25.7 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.5488, allocations: 88.14 kB / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.5489, allocations: 15.89 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.5489, allocations: 0 / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.549, allocations: 318.8 kB / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.5492, allocations: 43.97 kB / 1.378 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.5493, allocations: 43.95 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.5495, allocations: 39.97 kB / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5495, allocations: 0 / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003298/0.5498, allocations: 125.5 kB / 1.378 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5498, allocations: 6.031 kB / 1.378 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5498, allocations: 4 kB / 1.378 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5499, allocations: 0 / 1.378 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.55, allocations: 19.97 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.55, allocations: 4 kB / 1.378 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.5501, allocations: 27.92 kB / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.5501, allocations: 3.953 kB / 1.378 GB, free: 0.6328 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 8.474e-05/0.5502, allocations: 105.8 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.5502, allocations: 4 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.5503, allocations: 7.906 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5503, allocations: 0 / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5503, allocations: 11.94 kB / 1.378 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5503, allocations: 4.312 kB / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.5505, allocations: 169.6 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5505, allocations: 0 / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.5506, allocations: 19.98 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5506, allocations: 0 / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.5507, allocations: 4 kB / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5507, allocations: 0 / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5507, allocations: 7.984 kB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.551, allocations: 227.3 kB / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.5511, allocations: 77.11 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.5511, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.5513, allocations: 15.98 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.5513, allocations: 7.984 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.5513, allocations: 4 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.5514, allocations: 87.27 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5514, allocations: 0 / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000197/0.5516, allocations: 8 kB / 1.379 GB, free: 15.79 MB / 0.8855 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.0001465/0.5517, allocations: 103.2 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.5521, allocations: 87.92 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5521, allocations: 3.938 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.5522, allocations: 51.97 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.5525, allocations: 16.56 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.5528, allocations: 129 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.5531, allocations: 0.6809 MB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.5532, allocations: 7.922 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.5532, allocations: 11.44 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.5532, allocations: 0 / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of Templates: time 0.002373/0.5556, allocations: 0.5171 MB / 1.381 GB, free: 14.14 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches