Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMax.y.1.|matMax.y.2.|matMax.y.3.|matMax1.y.1.|matMax1.y.2.|matMax2.y.1.|matMax2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001439/0.001439, allocations: 171.4 kB / 498.1 MB, free: 5.766 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.621/1.621, allocations: 223.2 MB / 0.7949 GB, free: 17.92 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.0009153/0.0009155, allocations: 102.7 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003696, allocations: 10.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.5184, allocations: 148.6 MB / 1.368 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5187, allocations: 71.95 kB / 1.368 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00547/0.5242, allocations: 2.305 MB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5242, allocations: 0 / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.5243, allocations: 4 kB / 1.37 GB, free: 11.09 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004793/0.5248, allocations: 475.7 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5248, allocations: 12.03 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.5249, allocations: 23.72 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.5252, allocations: 259.6 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.5253, allocations: 16.44 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.5253, allocations: 20 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.5258, allocations: 349.1 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5258, allocations: 4 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.5258, allocations: 4 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5258, allocations: 8 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.5262, allocations: 231.7 kB / 1.372 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.5276, allocations: 1.421 MB / 1.373 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.766e-05/0.5277, allocations: 169.1 kB / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.5277, allocations: 75.28 kB / 1.373 GB, free: 7.852 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.5278, allocations: 109.8 kB / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 2.826e-06/0.5278, allocations: 0 / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.837e-05/0.5279, allocations: 57.3 kB / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.528, allocations: 130.6 kB / 1.374 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.5285, allocations: 463.6 kB / 1.374 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.5285, allocations: 25.7 kB / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5286, allocations: 171.8 kB / 1.374 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.5286, allocations: 0 / 1.374 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.5286, allocations: 4 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5288, allocations: 338.8 kB / 1.375 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.5288, allocations: 51.95 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.5289, allocations: 85.97 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.275e-05/0.529, allocations: 67.89 kB / 1.375 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.529, allocations: 0 / 1.375 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002676/0.5293, allocations: 181.2 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5293, allocations: 5.25 kB / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5293, allocations: 224 / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5294, allocations: 8 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.5295, allocations: 19.98 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5295, allocations: 3.938 kB / 1.375 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.5296, allocations: 43.62 kB / 1.375 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.5296, allocations: 8 kB / 1.375 GB, free: 6.039 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0001527/0.5297, allocations: 248.8 kB / 1.375 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.5298, allocations: 128.6 kB / 1.375 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/0.5299, allocations: 146.6 kB / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/0.53, allocations: 184.8 kB / 1.376 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/0.53, allocations: 180.2 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.626e-05/0.5301, allocations: 176.3 kB / 1.376 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.5304, allocations: 497.1 kB / 1.377 GB, free: 4.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/0.5304, allocations: 112.9 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.5305, allocations: 109 kB / 1.377 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.474e-05/0.5305, allocations: 180.2 kB / 1.377 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/0.5306, allocations: 180.2 kB / 1.377 GB, free: 3.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.605e-05/0.5307, allocations: 176.3 kB / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-05/0.5307, allocations: 184.2 kB / 1.377 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.5309, allocations: 331.4 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.5311, allocations: 229.8 kB / 1.378 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.442e-05/0.5312, allocations: 176.3 kB / 1.378 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.5313, allocations: 112.9 kB / 1.378 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.5313, allocations: 180.3 kB / 1.378 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.5314, allocations: 116.9 kB / 1.378 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003361/0.5317, allocations: 359 kB / 1.379 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5317, allocations: 0 / 1.379 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002431/0.532, allocations: 24 kB / 1.379 GB, free: 1.863 MB / 0.8698 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 (0): * Single equations (assignments): 0 * 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.0001612/0.5322, allocations: 170.5 kB / 1.379 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.5323, allocations: 69.09 kB / 1.379 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5323, allocations: 0 / 1.379 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.5323, allocations: 0 / 1.379 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.5327, allocations: 0.5469 MB / 1.38 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.5333, allocations: 0.493 MB / 1.38 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.5336, allocations: 0.7791 MB / 1.381 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.76e-05/0.5337, allocations: 49.52 kB / 1.381 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.5338, allocations: 19.44 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5338, allocations: 4 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of Templates: time 0.003972/0.5378, allocations: 1.595 MB / 1.382 GB, free: 14.08 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches