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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001047/0.001047, allocations: 185.2 kB / 316 MB, free: 3.539 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.319/1.319, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.001049/0.001049, allocations: 82.09 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.378e-06/9.408e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2368, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.68/0.9168, allocations: 131.4 MB / 1.013 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.9171, allocations: 65.08 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005621/0.9228, allocations: 2.021 MB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.9228, allocations: 6.734 kB / 1.015 GB, free: 5.387 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.0004494/0.9233, allocations: 452.2 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.9233, allocations: 12.03 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.9234, allocations: 23.72 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.9237, allocations: 271.6 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.9237, allocations: 8 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.9238, allocations: 8 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003175/0.9241, allocations: 214.3 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.9245, allocations: 324.4 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.9245, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.9246, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.9246, allocations: 4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.9258, allocations: 1.366 MB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.9259, allocations: 176.4 kB / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.926, allocations: 83.33 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.926, allocations: 75.28 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/0.9261, allocations: 105.8 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.9261, allocations: 0 / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.829e-05/0.9262, allocations: 53.44 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.9262, allocations: 51.41 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.9265, allocations: 231.3 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.9265, allocations: 25.7 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.9266, allocations: 176.5 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.9266, allocations: 3.984 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.9266, allocations: 0 / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9267, allocations: 325.9 kB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.9268, allocations: 50.47 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.9269, allocations: 97.33 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.927, allocations: 65.64 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.927, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002632/0.9272, allocations: 165.7 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9273, allocations: 8 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9273, allocations: 0 / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9273, allocations: 7.938 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.9274, allocations: 24.23 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.9274, allocations: 4.094 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.9275, allocations: 23.83 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.9275, allocations: 11.98 kB / 1.019 GB, free: 1.016 MB / 0.6355 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.066e-05/0.9276, allocations: 179.4 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.9277, allocations: 112.8 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.811e-05/0.9278, allocations: 125.2 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.803e-05/0.9279, allocations: 184.3 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.104e-05/0.9279, allocations: 176.3 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-05/0.928, allocations: 180.2 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.9283, allocations: 459.7 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-05/0.9283, allocations: 101.3 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.9284, allocations: 108.9 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-05/0.9284, allocations: 188.2 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.9285, allocations: 180.2 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.996e-05/0.9286, allocations: 183.6 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.014e-05/0.9286, allocations: 180.3 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000147/0.9288, allocations: 316.9 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.9289, allocations: 197.7 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/0.929, allocations: 184.2 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.9291, allocations: 112.9 kB / 1.022 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.9292, allocations: 180.3 kB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.9292, allocations: 101 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000141/0.9294, allocations: 188.3 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002523/0.9296, allocations: 35.75 kB / 1.023 GB, free: 13.28 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.0001593/0.9298, allocations: 174.5 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.9299, allocations: 70.83 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.9299, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.9299, allocations: 0.5 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.9304, allocations: 0.548 MB / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.9308, allocations: 324.9 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.9312, allocations: 0.8056 MB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9312, allocations: 0 / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of Templates: time 0.003338/0.9346, allocations: 0.9861 MB / 1.026 GB, free: 10.37 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