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.174/2.174, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.000983/0.0009831, allocations: 176.2 kB / 492.3 MB, free: 0.6133 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.442/1.442, allocations: 221.3 MB / 0.7872 GB, free: 12.9 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.0008458/0.0008458, allocations: 90.47 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.157e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3296, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.373, allocations: 149 MB / 1.358 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.374, allocations: 71.45 kB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004267/1.378, allocations: 1.24 MB / 1.359 GB, free: 34.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.874e-06/1.378, allocations: 0 / 1.359 GB, free: 34.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.378, allocations: 3.812 kB / 1.359 GB, free: 34.71 MB / 0.8386 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.0004676/1.378, allocations: 399.8 kB / 1.36 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.378, allocations: 7.75 kB / 1.36 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/1.378, allocations: 9.359 kB / 1.36 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/1.379, allocations: 195.1 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/1.379, allocations: 7.75 kB / 1.36 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/1.379, allocations: 15.28 kB / 1.36 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/1.379, allocations: 122.5 kB / 1.36 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.379, allocations: 3.875 kB / 1.36 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.379, allocations: 3.812 kB / 1.36 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.379, allocations: 0 / 1.36 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/1.379, allocations: 93.73 kB / 1.36 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/1.38, allocations: 444.8 kB / 1.36 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/1.38, allocations: 84.08 kB / 1.36 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/1.38, allocations: 55.66 kB / 1.361 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/1.38, allocations: 0 / 1.361 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/1.38, allocations: 39.05 kB / 1.361 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/1.38, allocations: 0 / 1.361 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002528/1.38, allocations: 101.1 kB / 1.361 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.38, allocations: 77.77 kB / 1.361 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/1.38, allocations: 120 kB / 1.361 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/1.38, allocations: 25.7 kB / 1.361 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/1.38, allocations: 97.83 kB / 1.361 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.38, allocations: 12.03 kB / 1.361 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/1.38, allocations: 0 / 1.361 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.179e-05/1.38, allocations: 316 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/1.381, allocations: 33.16 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/1.381, allocations: 48.59 kB / 1.361 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/1.381, allocations: 31.09 kB / 1.361 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.381, allocations: 0 / 1.361 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/1.381, allocations: 108.3 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.381, allocations: 3.875 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.381, allocations: 0 / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.381, allocations: 3.953 kB / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/1.381, allocations: 36.39 kB / 1.362 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.381, allocations: 0.625 kB / 1.362 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/1.381, allocations: 24.5 kB / 1.362 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/1.381, allocations: 0 / 1.362 GB, free: 32.87 MB / 0.8386 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 () * 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 6.517e-05/1.381, allocations: 112.6 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/1.381, allocations: 5.484 kB / 1.362 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/1.381, allocations: 15.03 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/1.381, allocations: 3.953 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.381, allocations: 8.484 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.381, allocations: 0 / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/1.382, allocations: 198.2 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.382, allocations: 3.844 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/1.382, allocations: 28.28 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/1.382, allocations: 1.688 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/1.382, allocations: 4 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.382, allocations: 0 / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.382, allocations: 7.922 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/1.382, allocations: 285.5 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/1.382, allocations: 84.89 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/1.382, allocations: 1.359 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/1.382, allocations: 30.47 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/1.382, allocations: 24.2 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/1.382, allocations: 3.812 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.623e-05/1.382, allocations: 93.97 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.382, allocations: 0 / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000242/1.383, allocations: 18.91 kB / 1.362 GB, free: 32.12 MB / 0.8386 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 () * 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.0001465/1.383, allocations: 108.9 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001583/1.383, allocations: 80.92 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.383, allocations: 0 / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/1.383, allocations: 58.95 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/1.383, allocations: 5.25 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/1.384, allocations: 145.5 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/1.384, allocations: 0.7077 MB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.504e-05/1.384, allocations: 14.72 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/1.384, allocations: 13.16 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.384, allocations: 0 / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.003128/1.387, allocations: 1.039 MB / 1.365 GB, free: 31.14 MB / 0.8386 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