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.266/2.266, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.0009529/0.000953, allocations: 187.8 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.64/1.64, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001093/0.001093, allocations: 95.89 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.519e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3135, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9272/1.241, allocations: 149.6 MB / 1.365 GB, free: 4.465 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.241, allocations: 63.66 kB / 1.365 GB, free: 4.434 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002461/1.244, allocations: 0.8063 MB / 1.366 GB, free: 3.68 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.285e-06/1.244, allocations: 0 / 1.366 GB, free: 3.68 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.628e-05/1.244, allocations: 4 kB / 1.366 GB, free: 3.676 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004668/1.244, allocations: 356.6 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/1.244, allocations: 16.02 kB / 1.366 GB, free: 3.273 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/1.244, allocations: 4.531 kB / 1.366 GB, free: 3.27 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/1.244, allocations: 174.7 kB / 1.366 GB, free: 3.062 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.244, allocations: 0 / 1.366 GB, free: 3.062 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/1.244, allocations: 4 kB / 1.366 GB, free: 3.059 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/1.245, allocations: 48.94 kB / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.245, allocations: 0 / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/1.245, allocations: 0 / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.245, allocations: 0 / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/1.245, allocations: 18.75 kB / 1.366 GB, free: 3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/1.245, allocations: 306.6 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/1.246, allocations: 37.58 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/1.246, allocations: 12.23 kB / 1.367 GB, free: 2.613 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/1.246, allocations: 7.688 kB / 1.367 GB, free: 2.609 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.246, allocations: 30.56 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/1.246, allocations: 4 kB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002049/1.246, allocations: 52.31 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/1.246, allocations: 60.06 kB / 1.367 GB, free: 2.445 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/1.246, allocations: 104.4 kB / 1.367 GB, free: 2.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/1.246, allocations: 25.7 kB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/1.246, allocations: 83.39 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/1.246, allocations: 7.906 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/1.246, allocations: 3 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.246, allocations: 318.8 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/1.246, allocations: 10.02 kB / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/1.246, allocations: 11.88 kB / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/1.246, allocations: 7.938 kB / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.246, allocations: 0 / 1.367 GB, free: 1.883 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.344e-05/1.246, allocations: 53.53 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.247, allocations: 8 kB / 1.367 GB, free: 1.824 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.247, allocations: 3.984 kB / 1.367 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.247, allocations: 0 / 1.367 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/1.247, allocations: 27.92 kB / 1.367 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.247, allocations: 0 / 1.367 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.255e-05/1.247, allocations: 19.94 kB / 1.367 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/1.247, allocations: 0 / 1.367 GB, free: 1.773 MB / 0.823 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 9.259e-05/1.247, allocations: 101 kB / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/1.247, allocations: 11.98 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/1.247, allocations: 7.906 kB / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.247, allocations: 0 / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.247, allocations: 0 / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.247, allocations: 4 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/1.247, allocations: 173.2 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.247, allocations: 7.938 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/1.247, allocations: 22.91 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.247, allocations: 8 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/1.247, allocations: 0 / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/1.247, allocations: 0 / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.247, allocations: 0 / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/1.248, allocations: 152.9 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/1.248, allocations: 77.11 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/1.248, allocations: 0 / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.248, allocations: 23.92 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/1.248, allocations: 7.984 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/1.248, allocations: 0 / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.873e-05/1.248, allocations: 89.84 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.248, allocations: 0 / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000208/1.248, allocations: 11.84 kB / 1.368 GB, free: 1.023 MB / 0.823 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.000222/1.248, allocations: 99.25 kB / 1.368 GB, free: 0.918 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001342/1.249, allocations: 26.48 kB / 1.368 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.249, allocations: 0 / 1.368 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/1.249, allocations: 22.5 kB / 1.368 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/1.249, allocations: 4.641 kB / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/1.249, allocations: 75.23 kB / 1.368 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/1.25, allocations: 0.6848 MB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.255e-05/1.25, allocations: 8 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/1.25, allocations: 7.438 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of SimCode: time 2.645e-06/1.25, allocations: 0 / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of Templates: time 0.002559/1.252, allocations: 0.5333 MB / 1.369 GB, free: 15.55 MB / 0.8386 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