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.178/2.178, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001004/0.001004, allocations: 172.9 kB / 487.4 MB, free: 5.027 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.545/1.545, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009993, allocations: 102.6 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.728e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3462, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.401, allocations: 147.9 MB / 1.35 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.401, allocations: 69.31 kB / 1.35 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006455/1.408, allocations: 2.348 MB / 1.353 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.408, allocations: 0.75 kB / 1.353 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.59e-05/1.408, allocations: 3.969 kB / 1.353 GB, free: 33.88 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.0004615/1.408, allocations: 459.1 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.409, allocations: 7.656 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/1.409, allocations: 24.12 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/1.409, allocations: 261.9 kB / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/1.409, allocations: 7.781 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/1.409, allocations: 12.52 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003235/1.409, allocations: 220 kB / 1.354 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/1.41, allocations: 330.5 kB / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.41, allocations: 0 / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/1.41, allocations: 0.7969 kB / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/1.41, allocations: 7.781 kB / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/1.411, allocations: 1.371 MB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.909e-05/1.411, allocations: 165.1 kB / 1.356 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/1.411, allocations: 80.94 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/1.411, allocations: 75.28 kB / 1.356 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/1.411, allocations: 109.8 kB / 1.356 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.411, allocations: 0 / 1.356 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.151e-05/1.411, allocations: 42.22 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/1.411, allocations: 51.97 kB / 1.356 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/1.412, allocations: 237.4 kB / 1.356 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-06/1.412, allocations: 25.7 kB / 1.356 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/1.412, allocations: 180.7 kB / 1.356 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/1.412, allocations: 7.875 kB / 1.356 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.412, allocations: 0 / 1.356 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.412, allocations: 329.7 kB / 1.357 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-05/1.412, allocations: 50.95 kB / 1.357 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/1.412, allocations: 91.16 kB / 1.357 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/1.412, allocations: 66.17 kB / 1.357 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.412, allocations: 0 / 1.357 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002546/1.412, allocations: 168.6 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.413, allocations: 4.219 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.413, allocations: 7.844 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.413, allocations: 4.594 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/1.413, allocations: 18.86 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.413, allocations: 0 / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/1.413, allocations: 17.56 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/1.413, allocations: 12.17 kB / 1.357 GB, free: 30.86 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 9.709e-05/1.413, allocations: 184.2 kB / 1.357 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/1.413, allocations: 117.7 kB / 1.357 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/1.413, allocations: 131.8 kB / 1.357 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.146e-05/1.413, allocations: 180.9 kB / 1.358 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.837e-05/1.413, allocations: 178.3 kB / 1.358 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/1.413, allocations: 177.9 kB / 1.358 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/1.414, allocations: 476.9 kB / 1.358 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-05/1.414, allocations: 106.1 kB / 1.359 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/1.414, allocations: 101.6 kB / 1.359 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.35e-05/1.414, allocations: 184.7 kB / 1.359 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/1.414, allocations: 176.9 kB / 1.359 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.19e-05/1.414, allocations: 184.7 kB / 1.359 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.94e-05/1.414, allocations: 182.5 kB / 1.359 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/1.414, allocations: 321.1 kB / 1.36 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/1.414, allocations: 203.6 kB / 1.36 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/1.414, allocations: 177.4 kB / 1.36 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.414, allocations: 106.1 kB / 1.36 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/1.414, allocations: 188.8 kB / 1.36 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/1.415, allocations: 101.8 kB / 1.36 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001522/1.415, allocations: 178.9 kB / 1.361 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.415, allocations: 0 / 1.361 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002719/1.415, allocations: 38.81 kB / 1.361 GB, free: 27.32 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.0001667/1.415, allocations: 178.9 kB / 1.361 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001266/1.415, allocations: 66.52 kB / 1.361 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.415, allocations: 0 / 1.361 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/1.415, allocations: 4.734 kB / 1.361 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/1.416, allocations: 0.5373 MB / 1.361 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/1.416, allocations: 343.7 kB / 1.362 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/1.417, allocations: 0.7879 MB / 1.362 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.267e-05/1.417, allocations: 29.77 kB / 1.362 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/1.417, allocations: 12.02 kB / 1.362 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.417, allocations: 0 / 1.362 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.003289/1.42, allocations: 0.7921 MB / 1.363 GB, free: 25.63 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