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.227/2.227, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001131/0.001131, allocations: 168 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001038/0.001038, allocations: 91.19 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.158e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3207, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.372, allocations: 149.5 MB / 1.365 GB, free: 4.461 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.372, allocations: 66.97 kB / 1.365 GB, free: 4.426 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00166/1.373, allocations: 0.6322 MB / 1.365 GB, free: 3.832 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.543e-06/1.373, allocations: 0 / 1.365 GB, free: 3.832 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.374, allocations: 4 kB / 1.365 GB, free: 3.828 MB / 0.823 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.0003926/1.374, allocations: 333.8 kB / 1.366 GB, free: 3.461 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.374, allocations: 12.02 kB / 1.366 GB, free: 3.449 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/1.374, allocations: 7.812 kB / 1.366 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/1.374, allocations: 178.1 kB / 1.366 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/1.374, allocations: 0 / 1.366 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/1.374, allocations: 0 / 1.366 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/1.374, allocations: 48.31 kB / 1.366 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.374, allocations: 8 kB / 1.366 GB, free: 3.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/1.374, allocations: 0 / 1.366 GB, free: 3.18 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/1.374, allocations: 0 / 1.366 GB, free: 3.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/1.374, allocations: 14.25 kB / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/1.375, allocations: 275.3 kB / 1.366 GB, free: 2.863 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/1.375, allocations: 30.83 kB / 1.366 GB, free: 2.828 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/1.375, allocations: 8.922 kB / 1.366 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/1.375, allocations: 0 / 1.366 GB, free: 2.816 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.375, allocations: 30.56 kB / 1.366 GB, free: 2.777 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.375, allocations: 0 / 1.366 GB, free: 2.777 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/1.375, allocations: 41.03 kB / 1.366 GB, free: 2.734 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.375, allocations: 59.38 kB / 1.366 GB, free: 2.664 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/1.375, allocations: 106.3 kB / 1.367 GB, free: 2.559 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/1.375, allocations: 25.7 kB / 1.367 GB, free: 2.527 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/1.375, allocations: 87.55 kB / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/1.375, allocations: 0 / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.375, allocations: 0 / 1.367 GB, free: 2.441 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.376, allocations: 314.8 kB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/1.376, allocations: 3.812 kB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/1.376, allocations: 4 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/1.376, allocations: 12.05 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.376, allocations: 0 / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.209e-05/1.376, allocations: 40.73 kB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.376, allocations: 4 kB / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/1.376, allocations: 0 / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.376, allocations: 0 / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/1.376, allocations: 11.98 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/1.376, allocations: 7.891 kB / 1.367 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/1.376, allocations: 19.39 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/1.376, allocations: 0 / 1.367 GB, free: 2.027 MB / 0.823 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 7.396e-05/1.376, allocations: 109.4 kB / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/1.376, allocations: 0 / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/1.376, allocations: 7.125 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/1.376, allocations: 0 / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.376, allocations: 0 / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.376, allocations: 3.953 kB / 1.367 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/1.376, allocations: 165.3 kB / 1.367 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.376, allocations: 0 / 1.367 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/1.376, allocations: 8 kB / 1.367 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.376, allocations: 0 / 1.367 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/1.376, allocations: 4 kB / 1.367 GB, free: 1.691 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.376, allocations: 3.984 kB / 1.367 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.376, allocations: 0 / 1.367 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/1.377, allocations: 138.4 kB / 1.368 GB, free: 1.543 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/1.377, allocations: 77.11 kB / 1.368 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/1.377, allocations: 3.938 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/1.377, allocations: 11.98 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/1.377, allocations: 0 / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/1.377, allocations: 0 / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.195e-05/1.377, allocations: 86.77 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.377, allocations: 0 / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001882/1.377, allocations: 11.94 kB / 1.368 GB, free: 1.34 MB / 0.823 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.0001377/1.377, allocations: 103.2 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.345e-05/1.377, allocations: 7.688 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.377, allocations: 3.938 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/1.377, allocations: 4 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/1.377, allocations: 8.891 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/1.378, allocations: 76.23 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/1.378, allocations: 0.6848 MB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.074e-05/1.378, allocations: 4 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/1.378, allocations: 7.438 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of SimCode: time 3.2e-07/1.378, allocations: 0 / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of Templates: time 0.002109/1.38, allocations: 349.2 kB / 1.369 GB, free: 64 kB / 0.823 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