Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001073, allocations: 188.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 92.84 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.922e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6565/0.8793, allocations: 131.4 MB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.8797, allocations: 63.89 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005759/0.8855, allocations: 2.35 MB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8855, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.8856, allocations: 6.734 kB / 1.016 GB, free: 4.145 MB / 0.6355 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.0004613/0.886, allocations: 450.1 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8861, allocations: 8.031 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.8861, allocations: 30.89 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.8865, allocations: 276.6 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.8865, allocations: 8.75 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.8865, allocations: 12 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003155/0.8868, allocations: 209.8 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.8873, allocations: 328.7 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.8873, allocations: 0 / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.8873, allocations: 0 / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.8873, allocations: 4 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.8886, allocations: 1.371 MB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.677e-05/0.8887, allocations: 171.6 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.8887, allocations: 80.14 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.8888, allocations: 79.28 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.8888, allocations: 109.8 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.8888, allocations: 4 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.469e-05/0.8889, allocations: 36.8 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.889, allocations: 51.41 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.8892, allocations: 238.4 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.8892, allocations: 25.7 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.8893, allocations: 182.1 kB / 1.019 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.8893, allocations: 0 / 1.019 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.8893, allocations: 0 / 1.019 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8895, allocations: 334.4 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.8895, allocations: 51.52 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.8896, allocations: 94.41 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.974e-05/0.8897, allocations: 63.62 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8897, allocations: 0 / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002606/0.89, allocations: 168.1 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.89, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.89, allocations: 9.062 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8901, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.8902, allocations: 23.92 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.8902, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.8902, allocations: 23.83 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.8903, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.6511 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.86e-05/0.8904, allocations: 184.2 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.8905, allocations: 116.7 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.8905, allocations: 126.1 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-05/0.8906, allocations: 179.5 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.208e-05/0.8907, allocations: 180.2 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.447e-05/0.8907, allocations: 180.3 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.891, allocations: 464.6 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-05/0.8911, allocations: 104.9 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.8911, allocations: 112.9 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.127e-05/0.8912, allocations: 176.3 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/0.8912, allocations: 184.2 kB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.085e-05/0.8913, allocations: 180.2 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.334e-05/0.8914, allocations: 176.3 kB / 1.022 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.8915, allocations: 319.4 kB / 1.023 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.8917, allocations: 201.9 kB / 1.023 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.8917, allocations: 180.2 kB / 1.023 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.8918, allocations: 105 kB / 1.023 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.8919, allocations: 184.2 kB / 1.023 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.892, allocations: 108.9 kB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001511/0.8921, allocations: 187.5 kB / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8921, allocations: 0 / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002788/0.8924, allocations: 35.84 kB / 1.024 GB, free: 12.03 MB / 0.6511 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.0001575/0.8926, allocations: 174.5 kB / 1.024 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.8927, allocations: 60.97 kB / 1.024 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8927, allocations: 8.188 kB / 1.024 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.8927, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.8931, allocations: 0.5375 MB / 1.024 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.8935, allocations: 345.2 kB / 1.025 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.8939, allocations: 0.7858 MB / 1.026 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.281e-05/0.894, allocations: 24.42 kB / 1.026 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.894, allocations: 15.42 kB / 1.026 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.894, allocations: 0 / 1.026 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of Templates: time 0.002741/0.8968, allocations: 0.7939 MB / 1.026 GB, free: 9.285 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches