Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.507/2.507, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 187 kB / 0.4902 GB, free: 2.281 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.2 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 94.94 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 10.27 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.5043, allocations: 149.6 MB / 1.375 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5046, allocations: 67.95 kB / 1.375 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00172/0.5064, allocations: 0.6295 MB / 1.376 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5064, allocations: 4 kB / 1.376 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.5064, allocations: 0 / 1.376 GB, free: 3.25 MB / 0.8698 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.0003832/0.5068, allocations: 343.3 kB / 1.376 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5068, allocations: 8.562 kB / 1.376 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.5069, allocations: 3.906 kB / 1.376 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.507, allocations: 186.9 kB / 1.377 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.507, allocations: 0 / 1.377 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.5071, allocations: 8 kB / 1.377 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.5073, allocations: 61.67 kB / 1.377 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5073, allocations: 0 / 1.377 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5073, allocations: 0 / 1.377 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5073, allocations: 0 / 1.377 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.5075, allocations: 51.95 kB / 1.377 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.5079, allocations: 280.8 kB / 1.377 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.508, allocations: 39.42 kB / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.5081, allocations: 0 / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.5081, allocations: 30.56 kB / 1.377 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.5081, allocations: 0 / 1.377 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003399/0.5084, allocations: 101.6 kB / 1.377 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.5085, allocations: 55.36 kB / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.5086, allocations: 96.98 kB / 1.377 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.5086, allocations: 25.83 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.5086, allocations: 88.14 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.5087, allocations: 3.906 kB / 1.377 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.5087, allocations: 0 / 1.377 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5088, allocations: 314.8 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.5089, allocations: 19.97 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.509, allocations: 23.98 kB / 1.378 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.509, allocations: 19.98 kB / 1.378 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5091, allocations: 3.938 kB / 1.378 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001941/0.5093, allocations: 81.66 kB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5093, allocations: 4 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5093, allocations: 0 / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5093, allocations: 0 / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.5094, allocations: 15.92 kB / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5094, allocations: 0 / 1.378 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.5095, allocations: 15.98 kB / 1.378 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.5095, allocations: 0 / 1.378 GB, free: 1.195 MB / 0.8698 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 8.127e-05/0.5096, allocations: 113.8 kB / 1.378 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.5096, allocations: 0 / 1.378 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.5096, allocations: 7.125 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5096, allocations: 0 / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5096, allocations: 0 / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5096, allocations: 0 / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.5098, allocations: 165.6 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5098, allocations: 4 kB / 1.378 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.5099, allocations: 11.98 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.5099, allocations: 0 / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.5099, allocations: 0 / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5099, allocations: 256 / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5099, allocations: 4 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.5102, allocations: 179.3 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.5102, allocations: 77.11 kB / 1.378 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.5102, allocations: 3.984 kB / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.5103, allocations: 8 kB / 1.378 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.5104, allocations: 4 kB / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.5104, allocations: 4.031 kB / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.5104, allocations: 83.27 kB / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5104, allocations: 0 / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001922/0.5106, allocations: 7.938 kB / 1.378 GB, free: 456 kB / 0.8698 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.0001298/0.5107, allocations: 100 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.5109, allocations: 47.95 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.511, allocations: 0 / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.511, allocations: 27.92 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.5112, allocations: 6.109 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.5115, allocations: 120.8 kB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.5118, allocations: 0.6809 MB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.5118, allocations: 7.984 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.5119, allocations: 7.438 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5119, allocations: 3.938 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of Templates: time 0.002083/0.514, allocations: 335.9 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches