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.48/1.48, allocations: 249.3 MB / 261.8 MB, free: 5.836 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.001062/0.001062, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.001041/0.001041, allocations: 80.89 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.255e-05/5.266e-05, allocations: 8 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2206, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7179/0.9385, allocations: 131.3 MB / 1.02 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.9388, allocations: 79.83 kB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002222/0.941, allocations: 0.8304 MB / 1.021 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.941, allocations: 3.984 kB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.941, allocations: 4 kB / 1.021 GB, free: 2.617 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.0003856/0.9414, allocations: 354.4 kB / 1.021 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.9415, allocations: 12.03 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.9415, allocations: 3.906 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.9416, allocations: 171 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.9417, allocations: 0 / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.9417, allocations: 3.75 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.9418, allocations: 48.62 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9418, allocations: 3.938 kB / 1.022 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.9418, allocations: 3.984 kB / 1.022 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.9418, allocations: 0 / 1.022 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.9419, allocations: 19.12 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.9424, allocations: 306.6 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.616e-05/0.9425, allocations: 37.94 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.9426, allocations: 15.48 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.9426, allocations: 4 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.9426, allocations: 37.88 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.424e-06/0.9426, allocations: 0 / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001565/0.9428, allocations: 51.03 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.9428, allocations: 55.48 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.9429, allocations: 96.88 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.9429, allocations: 29.7 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.943, allocations: 83.7 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.943, allocations: 11.89 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.943, allocations: 0 / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.9431, allocations: 322 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.9431, allocations: 7.312 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.9432, allocations: 11.12 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.9432, allocations: 11.31 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.9432, allocations: 0 / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.404e-05/0.9433, allocations: 52.22 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.9433, allocations: 8 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9433, allocations: 7.75 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.9433, allocations: 0 / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.9435, allocations: 19.98 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.9435, allocations: 3.984 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.9436, allocations: 15.98 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.9436, allocations: 4 kB / 1.023 GB, free: 0.7188 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.757e-05/0.9437, allocations: 108.9 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.9437, allocations: 7.938 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.9437, allocations: 4.031 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9437, allocations: 0 / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9438, allocations: 0 / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.9438, allocations: 7.875 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.9439, allocations: 172.7 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.9439, allocations: 0 / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.944, allocations: 23.98 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.944, allocations: 0 / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.9441, allocations: 7.438 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9441, allocations: 0 / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9441, allocations: 0 / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.9442, allocations: 153.3 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.9443, allocations: 81.14 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.9443, allocations: 4 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9444, allocations: 23.72 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.9445, allocations: 4 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.9445, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.9445, allocations: 91.39 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.182e-06/0.9445, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001859/0.9447, allocations: 11.88 kB / 1.023 GB, free: 15.97 MB / 0.6511 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.0001331/0.9449, allocations: 103.2 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.945, allocations: 19.38 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.945, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.945, allocations: 15.31 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.9452, allocations: 7.828 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.9454, allocations: 84.48 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.9457, allocations: 0.6848 MB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.9457, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.9457, allocations: 15.38 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/0.9458, allocations: 0 / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of Templates: time 0.002203/0.948, allocations: 0.5355 MB / 1.025 GB, free: 14.49 MB / 0.6511 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