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.45/1.45, allocations: 249.3 MB / 261.9 MB, free: 5.91 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.001108/0.001108, allocations: 176.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009266/0.0009267, allocations: 92.23 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.417e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1802, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6277/0.8079, allocations: 131.3 MB / 1.02 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.8082, allocations: 73.41 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001695/0.8099, allocations: 0.6444 MB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8099, allocations: 3.938 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.8099, allocations: 8 kB / 1.021 GB, free: 2.754 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.000343/0.8103, allocations: 333.3 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.8103, allocations: 8.031 kB / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.8103, allocations: 0 / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.8105, allocations: 186.5 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.8105, allocations: 4 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.8106, allocations: 0 / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.8107, allocations: 45.2 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.8107, allocations: 0 / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.8107, allocations: 0 / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.8107, allocations: 4 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.8108, allocations: 22.03 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.8112, allocations: 278.5 kB / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.289e-05/0.8112, allocations: 18.58 kB / 1.022 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.8113, allocations: 12.48 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.8113, allocations: 0 / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.8113, allocations: 34.5 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.8113, allocations: 0 / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.8115, allocations: 47.94 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.8115, allocations: 55.36 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.8116, allocations: 92.81 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.8116, allocations: 29.7 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.8117, allocations: 87.92 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.8117, allocations: 0 / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.8117, allocations: 0 / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8118, allocations: 314.8 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.8118, allocations: 7.062 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.8119, allocations: 8.031 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.47e-05/0.8119, allocations: 0 / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8119, allocations: 0 / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.56e-05/0.812, allocations: 41.39 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.812, allocations: 8 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.812, allocations: 0 / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.812, allocations: 3.984 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.8121, allocations: 9.781 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.8121, allocations: 7.938 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.8122, allocations: 11.94 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.8122, allocations: 4 kB / 1.022 GB, free: 0.957 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 5.901e-05/0.8123, allocations: 104 kB / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.8123, allocations: 3.906 kB / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.8123, allocations: 7.078 kB / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.8123, allocations: 0 / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8123, allocations: 8 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.8123, allocations: 0 / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.8125, allocations: 161.2 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8125, allocations: 0 / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.8126, allocations: 11.98 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8126, allocations: 0 / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.8126, allocations: 256 / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8126, allocations: 4 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8126, allocations: 4 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.8127, allocations: 145 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.8128, allocations: 81.09 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.8128, allocations: 0 / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.8129, allocations: 8 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.8129, allocations: 7.969 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.8129, allocations: 0 / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.878e-05/0.813, allocations: 82.91 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.813, allocations: 4.031 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001936/0.8132, allocations: 4 kB / 1.023 GB, free: 268 kB / 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.0001095/0.8133, allocations: 99.19 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.485e-05/0.8134, allocations: 15.56 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.8134, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-05/0.8134, allocations: 4 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.8136, allocations: 13.42 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.8138, allocations: 72.67 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.8141, allocations: 0.6809 MB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.8141, allocations: 3.906 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.8141, allocations: 7.438 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.8142, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.002051/0.8162, allocations: 349.6 kB / 1.024 GB, free: 14.99 MB / 0.6511 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