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.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 249.5 MB / 257 MB, free: 6.98 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.001413/0.001413, allocations: 171.8 kB / 316.3 MB, free: 3.227 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.568/1.568, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.001032/0.001032, allocations: 94.34 kB / 0.6715 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.049e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2499, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8587/1.109, allocations: 131.8 MB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/1.109, allocations: 75.62 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002574/1.112, allocations: 0.8401 MB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/1.112, allocations: 0 / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.739e-06/1.112, allocations: 0 / 1.015 GB, free: 5.223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003895/1.112, allocations: 345.5 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.112, allocations: 8.031 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/1.112, allocations: 4 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/1.112, allocations: 182.8 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/1.112, allocations: 0.75 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/1.112, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.268e-05/1.113, allocations: 18.94 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/1.113, allocations: 52.48 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.113, allocations: 0 / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/1.113, allocations: 7.984 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.113, allocations: 0 / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/1.113, allocations: 253.2 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.635e-05/1.113, allocations: 29.58 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/1.113, allocations: 11.86 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/1.113, allocations: 4 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.113, allocations: 30.56 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.113, allocations: 0 / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001672/1.113, allocations: 56.91 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/1.113, allocations: 51.41 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/1.114, allocations: 92.94 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/1.114, allocations: 29.69 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/1.114, allocations: 92.11 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/1.114, allocations: 3.906 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/1.114, allocations: 0 / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.114, allocations: 318 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/1.114, allocations: 4 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/1.114, allocations: 7.562 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/1.114, allocations: 11.3 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.114, allocations: 0 / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.992e-05/1.114, allocations: 44.58 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.114, allocations: 4 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.114, allocations: 0 / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.114, allocations: 7.984 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.114, allocations: 11.94 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/1.114, allocations: 0 / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/1.114, allocations: 12.77 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/1.114, allocations: 4 kB / 1.016 GB, free: 3.418 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.072e-05/1.114, allocations: 109 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/1.114, allocations: 0 / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/1.114, allocations: 14.38 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/1.114, allocations: 4 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.114, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.114, allocations: 0 / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/1.115, allocations: 140.2 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/1.115, allocations: 5.812 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/1.115, allocations: 15.98 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.115, allocations: 0 / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/1.115, allocations: 0 / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.115, allocations: 3.984 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.115, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/1.115, allocations: 141 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/1.115, allocations: 89.03 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/1.115, allocations: 0 / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/1.115, allocations: 8.031 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/1.115, allocations: 15.23 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/1.115, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.471e-05/1.115, allocations: 80.16 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.115, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000205/1.115, allocations: 15.84 kB / 1.017 GB, free: 2.727 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001292/1.115, allocations: 99.23 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/1.115, allocations: 22.5 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.115, allocations: 0 / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/1.116, allocations: 10.69 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/1.116, allocations: 8.719 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/1.116, allocations: 71.81 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.116, allocations: 0.6807 MB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.257e-05/1.116, allocations: 12.11 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/1.116, allocations: 7.438 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.116, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of Templates: time 0.002361/1.119, allocations: 486.2 kB / 1.018 GB, free: 1.316 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches