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.279/2.279, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.0009597/0.0009596, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.601/1.601, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008768/0.0008767, allocations: 91.89 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.062e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.308, allocations: 142.4 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.356, allocations: 148.6 MB / 1.357 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.356, allocations: 64.8 kB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005791/1.362, allocations: 2.381 MB / 1.36 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.154e-06/1.362, allocations: 0 / 1.36 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.646e-05/1.362, allocations: 3.969 kB / 1.36 GB, free: 34.55 MB / 0.8386 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.0004101/1.363, allocations: 456.3 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.363, allocations: 7.812 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/1.363, allocations: 23.31 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/1.363, allocations: 268.9 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/1.363, allocations: 15 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/1.363, allocations: 18.12 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/1.364, allocations: 352.3 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.364, allocations: 3.938 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/1.364, allocations: 11.19 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.364, allocations: 3.906 kB / 1.361 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/1.364, allocations: 230.7 kB / 1.361 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/1.365, allocations: 1.493 MB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/1.365, allocations: 173.5 kB / 1.363 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/1.365, allocations: 80.17 kB / 1.363 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/1.365, allocations: 79.28 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.365, allocations: 109.7 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.365, allocations: 4 kB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.785e-05/1.366, allocations: 54.58 kB / 1.363 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.366, allocations: 134.5 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/1.366, allocations: 470.1 kB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/1.366, allocations: 25.7 kB / 1.364 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/1.366, allocations: 166.2 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/1.366, allocations: 3.844 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/1.366, allocations: 0 / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.366, allocations: 341.1 kB / 1.364 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/1.366, allocations: 50.56 kB / 1.364 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/1.366, allocations: 98.8 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/1.367, allocations: 62.02 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.367, allocations: 0 / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002493/1.367, allocations: 189.4 kB / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.367, allocations: 9.219 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/1.367, allocations: 3.906 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.367, allocations: 0 / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/1.367, allocations: 26.81 kB / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/1.367, allocations: 160 / 1.365 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/1.367, allocations: 48.03 kB / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/1.367, allocations: 12.33 kB / 1.365 GB, free: 31.37 MB / 0.8386 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 () * 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 8.777e-05/1.367, allocations: 184.7 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/1.367, allocations: 126 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.015e-05/1.367, allocations: 140 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.515e-05/1.367, allocations: 181.5 kB / 1.365 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.153e-05/1.367, allocations: 176.3 kB / 1.365 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.915e-05/1.367, allocations: 185.1 kB / 1.366 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/1.368, allocations: 499.7 kB / 1.366 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/1.368, allocations: 109 kB / 1.366 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/1.368, allocations: 104.9 kB / 1.366 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.273e-05/1.368, allocations: 181.8 kB / 1.367 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/1.368, allocations: 180.2 kB / 1.367 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.292e-05/1.368, allocations: 184.1 kB / 1.367 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.676e-05/1.368, allocations: 181.6 kB / 1.367 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/1.368, allocations: 335.5 kB / 1.367 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.368, allocations: 229.2 kB / 1.368 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/1.368, allocations: 182.2 kB / 1.368 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/1.369, allocations: 104.2 kB / 1.368 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/1.369, allocations: 190 kB / 1.368 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/1.369, allocations: 101.9 kB / 1.368 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003551/1.369, allocations: 359.6 kB / 1.368 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.369, allocations: 0 / 1.368 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002843/1.369, allocations: 29.47 kB / 1.369 GB, free: 27.78 MB / 0.8386 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 (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.0001741/1.369, allocations: 171.2 kB / 1.369 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001283/1.37, allocations: 76.69 kB / 1.369 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.37, allocations: 0 / 1.369 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/1.37, allocations: 0 / 1.369 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/1.37, allocations: 0.545 MB / 1.369 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/1.371, allocations: 385.6 kB / 1.37 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/1.371, allocations: 0.7784 MB / 1.37 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.284e-05/1.371, allocations: 50.33 kB / 1.37 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/1.371, allocations: 15.09 kB / 1.37 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of SimCode: time 1.643e-06/1.371, allocations: 0 / 1.37 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.003787/1.375, allocations: 1.611 MB / 1.372 GB, free: 26.07 MB / 0.8386 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