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.485/1.485, allocations: 249.5 MB / 257 MB, free: 6.922 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.001112/0.001112, allocations: 179.8 kB / 316.3 MB, free: 3.207 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.72/1.72, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008929/0.000893, allocations: 89.86 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.977e-05/1.978e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1891, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6364/0.8256, allocations: 131.6 MB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.8258, allocations: 71.64 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001562/0.8274, allocations: 0.6425 MB / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8274, allocations: 0 / 1.014 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.8275, allocations: 0 / 1.014 GB, free: 5.562 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.0003227/0.8278, allocations: 340.9 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.8278, allocations: 12.03 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.8279, allocations: 0 / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.8281, allocations: 178.9 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.8281, allocations: 4 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.8281, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.437e-05/0.8282, allocations: 14 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/0.8282, allocations: 40.81 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.8283, allocations: 4.734 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8283, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.8283, allocations: 2.734 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.8287, allocations: 259 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.036e-05/0.8287, allocations: 21.83 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.8287, allocations: 8.922 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.8288, allocations: 4 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.8288, allocations: 30.56 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8288, allocations: 3.938 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.8289, allocations: 44.69 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.829, allocations: 51.41 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.829, allocations: 92.12 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.829, allocations: 25.7 kB / 1.015 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.8291, allocations: 91.16 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.8291, allocations: 8.031 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.8291, allocations: 0 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8292, allocations: 314.8 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.8292, allocations: 2.938 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.8293, allocations: 4 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.385e-05/0.8293, allocations: 7.5 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.8293, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.578e-05/0.8293, allocations: 37.69 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.8294, allocations: 8.094 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.8294, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.8294, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.8295, allocations: 14.81 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.8295, allocations: 3.938 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.8295, allocations: 12.86 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.8296, allocations: 0 / 1.016 GB, free: 3.801 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.923e-05/0.8296, allocations: 108.9 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.8297, allocations: 3.906 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.8297, allocations: 7.703 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.8297, allocations: 4 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8297, allocations: 3.984 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.8297, allocations: 0 / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.8299, allocations: 137.3 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8299, allocations: 1.812 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.8299, allocations: 11.98 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.83, allocations: 4 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.83, allocations: 0 / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.83, allocations: 0 / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.83, allocations: 0 / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/0.8301, allocations: 134.2 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.8301, allocations: 85.09 kB / 1.016 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.8301, allocations: 0 / 1.016 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.8302, allocations: 8.031 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.8303, allocations: 11.92 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.8303, allocations: 0 / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.8303, allocations: 83.28 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8303, allocations: 0 / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001977/0.8305, allocations: 7.938 kB / 1.017 GB, free: 3.133 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.0001012/0.8306, allocations: 98.06 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.906e-05/0.8307, allocations: 11.38 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8307, allocations: 0 / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.8307, allocations: 4 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.8309, allocations: 4 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.8312, allocations: 75.19 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.8314, allocations: 0.6807 MB / 1.017 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.8315, allocations: 3.906 kB / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.8315, allocations: 15.56 kB / 1.017 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of SimCode: time 3e-07/0.8315, allocations: 3.938 kB / 1.017 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of Templates: time 0.002034/0.8336, allocations: 319 kB / 1.018 GB, free: 1.895 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