Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") [: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.38/1.38, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.001378/0.001378, allocations: 181.3 kB / 316 MB, free: 3.605 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.491/1.491, 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.001124/0.001124, allocations: 83.11 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.524e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2029, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6595/0.8624, allocations: 131.6 MB / 1.013 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.8627, allocations: 71.95 kB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00162/0.8643, allocations: 346.9 kB / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.8643, allocations: 0 / 1.014 GB, free: 6.773 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003403/0.8647, allocations: 342.3 kB / 1.014 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.8647, allocations: 8.031 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.8648, allocations: 0 / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.865, allocations: 181.7 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.865, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.865, allocations: 4 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.045e-05/0.8651, allocations: 11.38 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.718e-05/0.8652, allocations: 45.25 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.8652, allocations: 0 / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.8652, allocations: 0 / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8652, allocations: 0 / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.8656, allocations: 269.8 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.8657, allocations: 21.95 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.8657, allocations: 8.922 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.8657, allocations: 0 / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.8658, allocations: 33.81 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.8658, allocations: 4 kB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.8659, allocations: 41.62 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.8659, allocations: 52.16 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.866, allocations: 91.88 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.866, allocations: 25.7 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.8661, allocations: 91.55 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.8661, allocations: 0 / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.8661, allocations: 0 / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8663, allocations: 318.9 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.8663, allocations: 6.875 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-06/0.8663, allocations: 3.938 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.561e-05/0.8663, allocations: 7.062 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8663, allocations: 3.906 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.137e-05/0.8664, allocations: 37.69 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.8664, allocations: 4 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8664, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8665, allocations: 3.984 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.8666, allocations: 15.66 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.8666, allocations: 4 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.8666, allocations: 15.86 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.8667, allocations: 3.75 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.601e-05/0.8667, allocations: 112.9 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.8668, allocations: 0 / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.8668, allocations: 7.109 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.8668, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.8668, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8668, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.8669, allocations: 145.6 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.8669, allocations: 0 / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.867, allocations: 15.98 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.867, allocations: 0 / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.867, allocations: 0 / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.867, allocations: 0 / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.867, allocations: 0 / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.229e-05/0.8671, allocations: 131.2 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.8672, allocations: 81.11 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.8672, allocations: 8.016 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.8673, allocations: 4 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.8673, allocations: 7.375 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.8673, allocations: 3.906 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.571e-05/0.8674, allocations: 87.2 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001989/0.8676, allocations: 4 kB / 1.016 GB, free: 4.344 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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.0001072/0.8677, allocations: 99.25 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.8678, allocations: 7.688 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8678, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.8678, allocations: 7.25 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.868, allocations: 4 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.8682, allocations: 62.97 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.8685, allocations: 0.6918 MB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/0.8685, allocations: 8.062 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of Templates: time 0.002103/0.8706, allocations: 380.7 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches