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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 174.4 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009332/0.0009329, allocations: 91.58 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004547, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2684, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.4581, allocations: 131.4 MB / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4584, allocations: 71.95 kB / 1.028 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001921/0.4603, allocations: 0.6452 MB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.286e-06/0.4604, allocations: 4 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.4604, allocations: 0 / 1.029 GB, free: 11.72 MB / 0.6823 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.000448/0.4608, allocations: 339.2 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.4609, allocations: 12.03 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.4609, allocations: 7.906 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.4611, allocations: 186.9 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4612, allocations: 0 / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.4612, allocations: 4 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.4614, allocations: 57.61 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4614, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4614, allocations: 8 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4614, allocations: 7.938 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.4616, allocations: 43.95 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.462, allocations: 280.9 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.4622, allocations: 34.5 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.4622, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.4622, allocations: 34.62 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.4622, allocations: 4 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000343/0.4626, allocations: 93.55 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.4626, allocations: 59.47 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.4627, allocations: 100.9 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4627, allocations: 29.7 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.4628, allocations: 80.14 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.4628, allocations: 4 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.4628, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4629, allocations: 314.8 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.463, allocations: 23.97 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.4631, allocations: 19.98 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.967e-05/0.4632, allocations: 19.98 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4632, allocations: 0 / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000185/0.4634, allocations: 81.62 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4634, allocations: 4 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4634, allocations: 3.938 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4635, allocations: 3.984 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4636, allocations: 16.02 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4636, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.4636, allocations: 11.94 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.4636, allocations: 3.953 kB / 1.031 GB, free: 9.656 MB / 0.6823 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 () * Number of clocked 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 9.209e-05/0.4637, allocations: 109.8 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.4638, allocations: 4 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.4638, allocations: 7.125 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4638, allocations: 4 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4638, allocations: 0 / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4638, allocations: 0 / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.464, allocations: 161.6 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.464, allocations: 3.984 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.4641, allocations: 8 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4641, allocations: 0 / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4641, allocations: 256 / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4641, allocations: 4 kB / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4641, allocations: 0 / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.4644, allocations: 171.5 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.4644, allocations: 77.11 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.4644, allocations: 7.953 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.4645, allocations: 12 kB / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4646, allocations: 3.938 kB / 1.031 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.4646, allocations: 0 / 1.031 GB, free: 9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.4646, allocations: 87.27 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4646, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001944/0.4648, allocations: 11.84 kB / 1.032 GB, free: 8.902 MB / 0.6823 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 (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.0001355/0.465, allocations: 99.25 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.4652, allocations: 43.95 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4652, allocations: 0 / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.4653, allocations: 28.05 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.4655, allocations: 7.953 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.4658, allocations: 120.8 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.4661, allocations: 0.6809 MB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.4662, allocations: 3.984 kB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.4662, allocations: 11.5 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/0.4662, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of Templates: time 0.002375/0.4686, allocations: 339.7 kB / 1.033 GB, free: 7.527 MB / 0.6823 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