Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, 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.001082/0.001082, allocations: 173.2 kB / 498.1 MB, free: 5.754 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.577/1.577, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008665/0.000866, allocations: 102.1 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004463, allocations: 12.88 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3203, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.5314, allocations: 148.6 MB / 1.368 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.5317, allocations: 71.95 kB / 1.368 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005967/0.5377, allocations: 2.368 MB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.757e-06/0.5377, allocations: 0 / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.192e-05/0.5377, allocations: 4 kB / 1.37 GB, free: 10.96 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005699/0.5383, allocations: 470.8 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.5383, allocations: 8.031 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.5384, allocations: 27.66 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.5389, allocations: 263.7 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.5389, allocations: 12.44 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.5389, allocations: 27.98 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.5395, allocations: 342 kB / 1.372 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5395, allocations: 3.938 kB / 1.372 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.5396, allocations: 16 kB / 1.372 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5396, allocations: 4 kB / 1.372 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.5399, allocations: 235.8 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.5416, allocations: 1.495 MB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.948e-05/0.5417, allocations: 181.1 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.5418, allocations: 79.22 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.5418, allocations: 105.8 kB / 1.374 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5419, allocations: 0 / 1.374 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001422/0.542, allocations: 53.41 kB / 1.374 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.5421, allocations: 130.6 kB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.5427, allocations: 471.5 kB / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5427, allocations: 29.7 kB / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.5429, allocations: 171.7 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-06/0.5429, allocations: 0 / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.5429, allocations: 0 / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5431, allocations: 342.8 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.5432, allocations: 51.89 kB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.871e-05/0.5433, allocations: 98.83 kB / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.5434, allocations: 59.95 kB / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5434, allocations: 0 / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003713/0.5438, allocations: 197.1 kB / 1.375 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5438, allocations: 4 kB / 1.375 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5438, allocations: 4 kB / 1.375 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.5439, allocations: 0 / 1.375 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.544, allocations: 23.98 kB / 1.375 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/0.544, allocations: 11.94 kB / 1.375 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.5441, allocations: 35.64 kB / 1.375 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.5442, allocations: 4.25 kB / 1.375 GB, free: 5.781 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0002413/0.5444, allocations: 252.9 kB / 1.375 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.5445, allocations: 132.6 kB / 1.376 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.5447, allocations: 138.6 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.345e-05/0.5448, allocations: 184.9 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/0.5449, allocations: 180.2 kB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.117e-05/0.545, allocations: 184.3 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.5454, allocations: 493.1 kB / 1.377 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.454e-05/0.5454, allocations: 108.9 kB / 1.377 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.5455, allocations: 112.9 kB / 1.377 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.472e-05/0.5455, allocations: 180.2 kB / 1.377 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/0.5456, allocations: 180.3 kB / 1.377 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-05/0.5457, allocations: 180.2 kB / 1.377 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-05/0.5458, allocations: 180.3 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.546, allocations: 335.4 kB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.5462, allocations: 225.8 kB / 1.378 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5464, allocations: 184.2 kB / 1.378 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5465, allocations: 109 kB / 1.378 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.5466, allocations: 176.3 kB / 1.379 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.5466, allocations: 108.9 kB / 1.379 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004201/0.5471, allocations: 367 kB / 1.379 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.5471, allocations: 0 / 1.379 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000294/0.5474, allocations: 24 kB / 1.379 GB, free: 1.602 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.0002059/0.5476, allocations: 178.5 kB / 1.379 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.5477, allocations: 64.72 kB / 1.379 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5477, allocations: 0 / 1.379 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.5477, allocations: 0 / 1.379 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.5483, allocations: 0.5555 MB / 1.38 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.549, allocations: 0.4892 MB / 1.38 GB, free: 280 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.5494, allocations: 0.783 MB / 1.381 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.5495, allocations: 53.52 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.5496, allocations: 15.44 kB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of SimCode: time 3.3e-07/0.5496, allocations: 0 / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.004638/0.5542, allocations: 1.595 MB / 1.383 GB, free: 13.81 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches