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.34/1.34, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 182.7 kB / 326.5 MB, free: 2.238 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.893/1.893, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008978/0.0008979, allocations: 100.3 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 9.406 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2773, allocations: 106.3 MB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.4766, allocations: 131.6 MB / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.4769, allocations: 67.97 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00258/0.4795, allocations: 0.829 MB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.689e-06/0.4796, allocations: 0 / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.4796, allocations: 3.938 kB / 1.029 GB, free: 11.77 MB / 0.6823 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.0004565/0.48, allocations: 363.9 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4801, allocations: 8.031 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.4801, allocations: 3.906 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.4803, allocations: 175 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.4804, allocations: 8 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.4804, allocations: 3.984 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.4807, allocations: 73.66 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.4807, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4807, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4807, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.4809, allocations: 59.89 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.4813, allocations: 280.8 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.4815, allocations: 42.55 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.4815, allocations: 4.062 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4816, allocations: 42.5 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4816, allocations: 0 / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003987/0.482, allocations: 105.7 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.482, allocations: 55.36 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.4821, allocations: 96.94 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.4821, allocations: 29.7 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.4822, allocations: 88.03 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.4823, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.4823, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4824, allocations: 318.9 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.4825, allocations: 19.98 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.4826, allocations: 23.97 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.478e-05/0.4827, allocations: 31.98 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4827, allocations: 0 / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.483, allocations: 81.56 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.483, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.483, allocations: 4.031 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.483, allocations: 0 / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4831, allocations: 11.98 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.4831, allocations: 0 / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.4832, allocations: 19.94 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.4832, allocations: 0 / 1.031 GB, free: 9.637 MB / 0.6823 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 () * Number of clocked 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 9.7e-05/0.4833, allocations: 109.8 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.4834, allocations: 4 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.4834, allocations: 11.11 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.4834, allocations: 4 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4834, allocations: 0 / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4834, allocations: 0 / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.4836, allocations: 169.5 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4836, allocations: 256 / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.4837, allocations: 19.92 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4837, allocations: 3.938 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.4837, allocations: 4 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4837, allocations: 4 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4837, allocations: 0 / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.484, allocations: 175.5 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.4841, allocations: 85.02 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4841, allocations: 0 / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.4842, allocations: 11.98 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.4843, allocations: 7.984 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4843, allocations: 0 / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.4843, allocations: 83.28 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4843, allocations: 0 / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000205/0.4846, allocations: 15.97 kB / 1.032 GB, free: 8.848 MB / 0.6823 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 () * Number of clocked 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.0001479/0.4847, allocations: 107.2 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.4849, allocations: 47.91 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.485, allocations: 4.062 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.4851, allocations: 31.97 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.4852, allocations: 3.953 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.4856, allocations: 124.6 kB / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4859, allocations: 0.6927 MB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.486, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.486, allocations: 11.44 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.486, allocations: 0 / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of Templates: time 0.002616/0.4886, allocations: 0.5085 MB / 1.034 GB, free: 7.266 MB / 0.6823 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