Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009547/0.0009548, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.854/2.854, allocations: 436.5 MB / 0.7104 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 12 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8608/0.8612, allocations: 153.6 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.0009707/0.8622, allocations: 466.1 kB / 1.021 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.8624, allocations: 55.84 kB / 1.021 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.8624, allocations: 0 / 1.021 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.8626, allocations: 19.84 kB / 1.021 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.8626, allocations: 15.92 kB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.8628, allocations: 23.98 kB / 1.021 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.8629, allocations: 75.86 kB / 1.021 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.8631, allocations: 135.2 kB / 1.022 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.8632, allocations: 31.8 kB / 1.022 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.8632, allocations: 43.72 kB / 1.022 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.8633, allocations: 4 kB / 1.022 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.716e-05/0.8633, allocations: 0 / 1.022 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.8634, allocations: 39.84 kB / 1.022 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.8634, allocations: 53.58 kB / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.8636, allocations: 167.8 kB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.8636, allocations: 0 / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8636, allocations: 0 / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8636, allocations: 0 / 1.022 GB, free: 15.99 MB / 0.7794 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.0005288/0.8642, allocations: 460.8 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.8642, allocations: 15.92 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.8643, allocations: 23.72 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.8646, allocations: 254.7 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.8646, allocations: 8.375 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.8647, allocations: 20 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.8651, allocations: 340.3 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8652, allocations: 0 / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.8652, allocations: 8 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.8652, allocations: 12.17 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.8656, allocations: 264.4 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.8669, allocations: 1.081 MB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.8671, allocations: 169.1 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.8671, allocations: 83.28 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.8672, allocations: 109.8 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.8672, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.25e-05/0.8673, allocations: 53.33 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.8673, allocations: 130.7 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/0.8679, allocations: 496.4 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.8679, allocations: 25.7 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.8681, allocations: 171.8 kB / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.8681, allocations: 7.984 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.8681, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8683, allocations: 342.8 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.8683, allocations: 47.97 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.8685, allocations: 89.91 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/0.8686, allocations: 63.95 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8686, allocations: 0 / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002967/0.8689, allocations: 185.3 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.8689, allocations: 11.94 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8689, allocations: 0 / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.8689, allocations: 4 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.8691, allocations: 23.92 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.8691, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.8692, allocations: 39.67 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.8692, allocations: 4 kB / 1.026 GB, free: 11.26 MB / 0.7794 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 () * Number of clocked 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.0001723/0.8694, allocations: 249 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.8695, allocations: 136.6 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.8696, allocations: 138.8 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001199/0.8698, allocations: 180.3 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001316/0.8699, allocations: 184.2 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001435/0.87, allocations: 176.3 kB / 1.027 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.8704, allocations: 0.4931 MB / 1.028 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/0.8704, allocations: 101 kB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.8705, allocations: 109 kB / 1.028 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.58e-05/0.8706, allocations: 184.2 kB / 1.028 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.8707, allocations: 176.3 kB / 1.028 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.725e-05/0.8708, allocations: 180.2 kB / 1.028 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-05/0.8708, allocations: 188.3 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.871, allocations: 327.5 kB / 1.029 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.8712, allocations: 233.7 kB / 1.029 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/0.8713, allocations: 180.2 kB / 1.029 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.8714, allocations: 109.3 kB / 1.029 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.8715, allocations: 188.2 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.8715, allocations: 101 kB / 1.03 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003411/0.8719, allocations: 359 kB / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8719, allocations: 4 kB / 1.03 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003019/0.8722, allocations: 24 kB / 1.03 GB, free: 7.09 MB / 0.7794 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.0001765/0.8724, allocations: 178.5 kB / 1.03 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.8725, allocations: 71.94 kB / 1.03 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8725, allocations: 0 / 1.03 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.8725, allocations: 0 / 1.03 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.873, allocations: 0.5473 MB / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.8737, allocations: 495 kB / 1.031 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.8741, allocations: 0.7752 MB / 1.032 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.963e-05/0.8742, allocations: 57.52 kB / 1.032 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.8742, allocations: 15.44 kB / 1.032 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8742, allocations: 0 / 1.032 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of Templates: time 0.004021/0.8782, allocations: 1.575 MB / 1.034 GB, free: 3.328 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches