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.262/2.262, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001068/0.001068, allocations: 176.9 kB / 487.4 MB, free: 5.023 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.524/1.524, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.001073/0.001073, allocations: 95.05 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.814e-05, allocations: 12 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3269, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.385, allocations: 147.9 MB / 1.35 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.385, allocations: 62.72 kB / 1.35 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006534/1.392, allocations: 2.29 MB / 1.353 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.934e-06/1.392, allocations: 3.812 kB / 1.353 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.055e-05/1.392, allocations: 7.812 kB / 1.353 GB, free: 33.93 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004841/1.393, allocations: 449.8 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.393, allocations: 7.656 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/1.393, allocations: 23.98 kB / 1.353 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/1.393, allocations: 274.3 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/1.393, allocations: 7.688 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/1.393, allocations: 11.5 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000326/1.393, allocations: 212.2 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/1.394, allocations: 311.5 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.394, allocations: 7.938 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/1.394, allocations: 3.875 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.394, allocations: 3.812 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/1.395, allocations: 1.282 MB / 1.355 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.395, allocations: 169.7 kB / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/1.395, allocations: 88.11 kB / 1.355 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/1.395, allocations: 79.16 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/1.395, allocations: 106.5 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.395, allocations: 0 / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.252e-05/1.396, allocations: 34.11 kB / 1.356 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/1.396, allocations: 51.41 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/1.396, allocations: 234.5 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/1.396, allocations: 29.7 kB / 1.356 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/1.396, allocations: 181.7 kB / 1.356 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/1.396, allocations: 3.875 kB / 1.356 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/1.396, allocations: 3.938 kB / 1.356 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.396, allocations: 329.5 kB / 1.356 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/1.396, allocations: 43.97 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/1.396, allocations: 101.4 kB / 1.357 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.222e-05/1.396, allocations: 53.8 kB / 1.357 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.396, allocations: 0 / 1.357 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000248/1.397, allocations: 164.1 kB / 1.357 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.397, allocations: 7.688 kB / 1.357 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.397, allocations: 0.5156 kB / 1.357 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.397, allocations: 3.812 kB / 1.357 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/1.397, allocations: 23.16 kB / 1.357 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.397, allocations: 0 / 1.357 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/1.397, allocations: 23.38 kB / 1.357 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/1.397, allocations: 8.141 kB / 1.357 GB, free: 31.01 MB / 0.8386 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 () * 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.000109/1.397, allocations: 188.6 kB / 1.357 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/1.397, allocations: 113.2 kB / 1.357 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/1.397, allocations: 124.6 kB / 1.357 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-05/1.397, allocations: 179.9 kB / 1.357 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.217e-05/1.397, allocations: 180.8 kB / 1.358 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.638e-05/1.398, allocations: 181.1 kB / 1.358 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/1.398, allocations: 470.4 kB / 1.358 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-05/1.398, allocations: 105 kB / 1.358 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/1.398, allocations: 108.8 kB / 1.358 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-05/1.398, allocations: 177.1 kB / 1.359 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.781e-05/1.398, allocations: 180.9 kB / 1.359 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.805e-05/1.398, allocations: 184.8 kB / 1.359 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-05/1.398, allocations: 177 kB / 1.359 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/1.398, allocations: 318.1 kB / 1.359 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.398, allocations: 200.2 kB / 1.36 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/1.399, allocations: 177.4 kB / 1.36 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/1.399, allocations: 114.1 kB / 1.36 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/1.399, allocations: 188.1 kB / 1.36 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/1.399, allocations: 101.8 kB / 1.36 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001631/1.399, allocations: 177.6 kB / 1.36 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.399, allocations: 3.938 kB / 1.36 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003235/1.399, allocations: 42.62 kB / 1.36 GB, free: 27.48 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.0002019/1.4, allocations: 183.6 kB / 1.361 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001488/1.4, allocations: 60.56 kB / 1.361 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.4, allocations: 0 / 1.361 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/1.4, allocations: 0 / 1.361 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/1.4, allocations: 0.5381 MB / 1.361 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/1.401, allocations: 327.6 kB / 1.361 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/1.401, allocations: 0.7886 MB / 1.362 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.954e-05/1.401, allocations: 25.38 kB / 1.362 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/1.401, allocations: 12.16 kB / 1.362 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.401, allocations: 4 kB / 1.362 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of Templates: time 0.003821/1.405, allocations: 0.7814 MB / 1.363 GB, free: 25.82 MB / 0.8386 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