Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001179/0.001179, allocations: 179.5 kB / 498.1 MB, free: 5.676 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.776/1.776, allocations: 223.2 MB / 0.7948 GB, free: 17.78 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.001041/0.001041, allocations: 92.33 kB / 0.9346 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 6.938 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3087, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.4937, allocations: 148.8 MB / 1.368 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.494, allocations: 63.97 kB / 1.368 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00165/0.4956, allocations: 0.6417 MB / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4957, allocations: 0 / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4957, allocations: 0 / 1.369 GB, free: 12.45 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.000371/0.496, allocations: 339.2 kB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4961, allocations: 12.02 kB / 1.369 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.4961, allocations: 12 kB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.4963, allocations: 167 kB / 1.369 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4963, allocations: 3.938 kB / 1.369 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.4963, allocations: 0 / 1.369 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.4965, allocations: 61.67 kB / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4966, allocations: 0 / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4966, allocations: 3.984 kB / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.4966, allocations: 0 / 1.369 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.4968, allocations: 47.97 kB / 1.369 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.4972, allocations: 288.8 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4973, allocations: 41.3 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.4973, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4974, allocations: 30.56 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.4974, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003431/0.4977, allocations: 93.64 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4978, allocations: 59.48 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.4979, allocations: 97 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4979, allocations: 29.7 kB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.4979, allocations: 84.12 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.498, allocations: 11.84 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.498, allocations: 0 / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4981, allocations: 314.8 kB / 1.37 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.4982, allocations: 23.92 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.4983, allocations: 19.98 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.4983, allocations: 23.97 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4983, allocations: 0 / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001853/0.4985, allocations: 69.73 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4986, allocations: 9.719 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4986, allocations: 3.938 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4986, allocations: 3.984 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4987, allocations: 16.02 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.4987, allocations: 0 / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.4988, allocations: 11.94 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.4988, allocations: 0 / 1.371 GB, free: 10.39 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.534e-05/0.4989, allocations: 113.8 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.4989, allocations: 3.938 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.4989, allocations: 7.125 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.4989, allocations: 0 / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.499, allocations: 7.984 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.499, allocations: 0 / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.4991, allocations: 157.6 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4991, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.4992, allocations: 11.98 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4992, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.4992, allocations: 4 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4992, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4992, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.4995, allocations: 179.3 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.4995, allocations: 81.11 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.4995, allocations: 0 / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.4996, allocations: 12.02 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4996, allocations: 4 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.4997, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.4997, allocations: 79.28 kB / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4997, allocations: 0 / 1.371 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002063/0.4999, allocations: 4 kB / 1.371 GB, free: 9.648 MB / 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.0001067/0.5, allocations: 107 kB / 1.371 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.5002, allocations: 39.97 kB / 1.371 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5002, allocations: 3.938 kB / 1.371 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.5003, allocations: 28.05 kB / 1.371 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.5005, allocations: 17.42 kB / 1.371 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.5008, allocations: 112.7 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.501, allocations: 0.6848 MB / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.5011, allocations: 0 / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.5011, allocations: 11.5 kB / 1.372 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.5011, allocations: 0 / 1.372 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of Templates: time 0.002104/0.5032, allocations: 344.4 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches