Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.523/2.523, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001845/0.001845, allocations: 195.2 kB / 0.4902 GB, free: 2.285 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.594/1.594, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009391/0.0009392, allocations: 104.3 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 10.31 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.263, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.4466, allocations: 149.8 MB / 1.376 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.4469, allocations: 71.95 kB / 1.376 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004191/0.4512, allocations: 1.244 MB / 1.377 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4512, allocations: 0 / 1.377 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.4512, allocations: 0 / 1.377 GB, free: 2.473 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.0006331/0.4519, allocations: 411.1 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4519, allocations: 8.562 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.452, allocations: 7.906 kB / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.4522, allocations: 190.9 kB / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.4523, allocations: 8 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.4523, allocations: 8 kB / 1.377 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.4527, allocations: 167.3 kB / 1.378 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4528, allocations: 0 / 1.378 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.4528, allocations: 0 / 1.378 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4528, allocations: 8 kB / 1.378 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.4533, allocations: 175.8 kB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.454, allocations: 444.8 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.4543, allocations: 125.1 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.4543, allocations: 4.062 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4544, allocations: 46.45 kB / 1.378 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.4544, allocations: 0 / 1.378 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0008509/0.4552, allocations: 253.5 kB / 1.379 GB, free: 480 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.4553, allocations: 85.2 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.4554, allocations: 117.1 kB / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4555, allocations: 25.7 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.4555, allocations: 96.03 kB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.4556, allocations: 23.69 kB / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.4556, allocations: 0 / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4558, allocations: 314.8 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.456, allocations: 75.92 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.4562, allocations: 87.22 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.4564, allocations: 67.94 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4564, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004715/0.4569, allocations: 185.5 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.4569, allocations: 4 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.457, allocations: 8.016 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.457, allocations: 4 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.4572, allocations: 31.97 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4572, allocations: 0 / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.4573, allocations: 27.88 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4574, allocations: 4 kB / 1.38 GB, free: 15.28 MB / 0.8855 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.0001199/0.4575, allocations: 129.8 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.4576, allocations: 0 / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.4576, allocations: 11.53 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4576, allocations: 3.953 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4576, allocations: 4 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4576, allocations: 3.938 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.4579, allocations: 193.6 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4579, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.4581, allocations: 35.95 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4581, allocations: 0 / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.4581, allocations: 8 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4581, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4581, allocations: 3.953 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.4587, allocations: 368.3 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.4588, allocations: 81.05 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.4588, allocations: 0 / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.459, allocations: 28.3 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.4591, allocations: 27.89 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.4591, allocations: 4 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.4592, allocations: 103.2 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4592, allocations: 0 / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000275/0.4595, allocations: 19.91 kB / 1.381 GB, free: 14.18 MB / 0.8855 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.0001744/0.4596, allocations: 104 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.4602, allocations: 155.8 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4602, allocations: 3.938 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.4605, allocations: 100 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.4607, allocations: 10.23 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.4613, allocations: 225.3 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.4616, allocations: 0.7041 MB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.622e-05/0.4617, allocations: 15.98 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.4618, allocations: 15.44 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of SimCode: time 7.01e-07/0.4618, allocations: 0 / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.003485/0.4653, allocations: 1.017 MB / 1.383 GB, free: 11.79 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches