Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001149/0.001149, allocations: 182.8 kB / 498.1 MB, free: 5.754 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.704/1.704, allocations: 223.2 MB / 0.7949 GB, free: 17.93 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.001102/0.001102, allocations: 92.2 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 12.56 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.4706, allocations: 149 MB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4708, allocations: 63.97 kB / 1.368 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00368/0.4745, allocations: 1.251 MB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4746, allocations: 0 / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.4746, allocations: 4 kB / 1.37 GB, free: 11.79 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005433/0.4751, allocations: 407 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4752, allocations: 8.031 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.711e-05/0.4753, allocations: 15.84 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.4755, allocations: 191 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.4755, allocations: 7.938 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.4755, allocations: 8 kB / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.4759, allocations: 171.2 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.476, allocations: 0 / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.476, allocations: 4 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.476, allocations: 0 / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.4765, allocations: 175.8 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.477, allocations: 448.7 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.4773, allocations: 125.1 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.4773, allocations: 0 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.4774, allocations: 34.52 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.4774, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0007419/0.4781, allocations: 261.7 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.4782, allocations: 81.05 kB / 1.372 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.4783, allocations: 121.1 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.4783, allocations: 25.7 kB / 1.372 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.4784, allocations: 103.9 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.4784, allocations: 8.047 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.4784, allocations: 0 / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4786, allocations: 326.9 kB / 1.372 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.4788, allocations: 67.92 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.479, allocations: 93.62 kB / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.4792, allocations: 71.92 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4792, allocations: 0 / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004471/0.4797, allocations: 181.4 kB / 1.372 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4797, allocations: 8 kB / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4797, allocations: 4.328 kB / 1.373 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4797, allocations: 0 / 1.373 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.4799, allocations: 31.95 kB / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4799, allocations: 0 / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.4801, allocations: 31.94 kB / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4801, allocations: 0 / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.000105/0.4802, allocations: 133.6 kB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.4802, allocations: 4 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.4803, allocations: 7.531 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4803, allocations: 7.953 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4803, allocations: 0 / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.4803, allocations: 4 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.4805, allocations: 197.5 kB / 1.373 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4805, allocations: 7.938 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.4807, allocations: 35.91 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4807, allocations: 0 / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4807, allocations: 0 / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4807, allocations: 0 / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4807, allocations: 3.953 kB / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.4812, allocations: 364.4 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.4813, allocations: 85.02 kB / 1.373 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.4813, allocations: 3.984 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.4815, allocations: 27.94 kB / 1.373 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.4816, allocations: 31.89 kB / 1.373 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.4816, allocations: 0 / 1.373 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.4816, allocations: 95.27 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4817, allocations: 0 / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002537/0.4819, allocations: 12 kB / 1.374 GB, free: 7.488 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001476/0.4821, allocations: 111.2 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.4825, allocations: 159.8 kB / 1.374 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4825, allocations: 8.125 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.4828, allocations: 95.83 kB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.483, allocations: 8 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.4835, allocations: 213.4 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.4838, allocations: 0.7046 MB / 1.375 GB, free: 6.133 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.347e-05/0.4839, allocations: 19.98 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.4839, allocations: 15.42 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/0.4839, allocations: 3.938 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of Templates: time 0.00299/0.4869, allocations: 1.024 MB / 1.376 GB, free: 5.078 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches