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.403/1.403, allocations: 249.3 MB / 261.8 MB, free: 5.855 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.0009884/0.0009883, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001086/0.001086, allocations: 90.42 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.473e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2266, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7428/0.9695, allocations: 131.5 MB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.9697, allocations: 78.62 kB / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002354/0.9721, allocations: 0.8295 MB / 1.021 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9721, allocations: 0 / 1.021 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.9721, allocations: 3.125 kB / 1.021 GB, free: 2.348 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.0003678/0.9725, allocations: 346.2 kB / 1.021 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.9726, allocations: 16.02 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.9726, allocations: 0 / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.9728, allocations: 178.9 kB / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.9728, allocations: 11.98 kB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.9729, allocations: 3.812 kB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.973, allocations: 48.94 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.973, allocations: 0 / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.973, allocations: 0 / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.9731, allocations: 4 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.9731, allocations: 20.19 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.9735, allocations: 283.1 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.215e-05/0.9736, allocations: 30.31 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.9736, allocations: 12.42 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.9737, allocations: 0 / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.9737, allocations: 39.75 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9737, allocations: 0 / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/0.9739, allocations: 53.22 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.9739, allocations: 55.36 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.974, allocations: 96.75 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.974, allocations: 25.7 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.9741, allocations: 91.69 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.9741, allocations: 7.906 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.9741, allocations: 0 / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.9742, allocations: 313.9 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.9743, allocations: 10.62 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.9743, allocations: 7.375 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.463e-05/0.9743, allocations: 7.938 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9743, allocations: 3.938 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.955e-05/0.9744, allocations: 44.62 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.9744, allocations: 4 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9744, allocations: 0 / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.9745, allocations: 4 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.9746, allocations: 16.08 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.9746, allocations: 0.875 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.9747, allocations: 15.84 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.9747, allocations: 4 kB / 1.023 GB, free: 500 kB / 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.751e-05/0.9748, allocations: 104.5 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.9748, allocations: 0 / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.9748, allocations: 11.08 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9748, allocations: 0 / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.9749, allocations: 4 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9749, allocations: 3.984 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.975, allocations: 165.1 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.975, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.9751, allocations: 11.98 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9751, allocations: 3.938 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.9752, allocations: 4 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.9752, allocations: 3.984 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9752, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.9753, allocations: 148 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.9754, allocations: 81.09 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.9754, allocations: 256 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.9755, allocations: 12 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.9756, allocations: 11.23 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.9756, allocations: 0 / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.9756, allocations: 83.31 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9756, allocations: 3.938 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002005/0.9758, allocations: 15.84 kB / 1.023 GB, free: 15.77 MB / 0.6511 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.0001466/0.976, allocations: 103 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.9761, allocations: 19.81 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9761, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.9761, allocations: 10.94 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.9763, allocations: 17.94 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.9765, allocations: 67.28 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.9768, allocations: 0.6848 MB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.865e-05/0.9769, allocations: 7.984 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.9769, allocations: 11.38 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.9769, allocations: 4 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.002455/0.9794, allocations: 0.5101 MB / 1.025 GB, free: 14.31 MB / 0.6511 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