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.266/2.266, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001014/0.001014, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.467/1.467, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009288/0.0009287, allocations: 105.4 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.882e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.392, allocations: 148.3 MB / 1.351 GB, free: 18.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.392, allocations: 73.14 kB / 1.351 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004466/1.397, allocations: 1.24 MB / 1.352 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.372e-06/1.397, allocations: 1.219 kB / 1.352 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.397, allocations: 1.25 kB / 1.352 GB, free: 34.16 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.0005905/1.397, allocations: 401.2 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.397, allocations: 9.062 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/1.397, allocations: 9.453 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/1.398, allocations: 201 kB / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/1.398, allocations: 6.625 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/1.398, allocations: 3.812 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001938/1.398, allocations: 88.45 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/1.398, allocations: 119 kB / 1.353 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.398, allocations: 4 kB / 1.353 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/1.398, allocations: 0 / 1.353 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.398, allocations: 3.844 kB / 1.353 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/1.399, allocations: 413.3 kB / 1.353 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/1.399, allocations: 84.94 kB / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/1.399, allocations: 43.73 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/1.399, allocations: 8.125 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/1.399, allocations: 31.22 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/1.399, allocations: 4 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002762/1.399, allocations: 103.5 kB / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/1.399, allocations: 77.81 kB / 1.354 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.399, allocations: 115.6 kB / 1.354 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/1.399, allocations: 25.7 kB / 1.354 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/1.399, allocations: 101.6 kB / 1.354 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/1.4, allocations: 4.609 kB / 1.354 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/1.4, allocations: 0 / 1.354 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.4, allocations: 323.4 kB / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/1.4, allocations: 30.92 kB / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/1.4, allocations: 44.67 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/1.4, allocations: 30.33 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.4, allocations: 0 / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/1.4, allocations: 102.7 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.4, allocations: 10.5 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.4, allocations: 3.844 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.4, allocations: 0 / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/1.4, allocations: 28.92 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.4, allocations: 3.953 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/1.4, allocations: 23.09 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.4, allocations: 4.703 kB / 1.354 GB, free: 32.35 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 8.903e-05/1.401, allocations: 105.4 kB / 1.355 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/1.401, allocations: 8.391 kB / 1.355 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/1.401, allocations: 11.69 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.401, allocations: 0.7969 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.401, allocations: 3.844 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.401, allocations: 3.953 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/1.401, allocations: 173.4 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.401, allocations: 3.969 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/1.401, allocations: 32.47 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/1.401, allocations: 2.812 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/1.401, allocations: 0.6562 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.401, allocations: 4.438 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.401, allocations: 0 / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/1.401, allocations: 283.4 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/1.401, allocations: 81.67 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/1.401, allocations: 4.453 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/1.402, allocations: 18.98 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/1.402, allocations: 33.02 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-06/1.402, allocations: 8.469 kB / 1.355 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.613e-05/1.402, allocations: 93.58 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.402, allocations: 0 / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002631/1.402, allocations: 16.28 kB / 1.355 GB, free: 31.64 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.0001546/1.402, allocations: 112.3 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001669/1.402, allocations: 70.47 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.402, allocations: 3.938 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/1.402, allocations: 56.33 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/1.403, allocations: 10.2 kB / 1.355 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/1.403, allocations: 137.3 kB / 1.356 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/1.403, allocations: 0.7034 MB / 1.356 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.884e-05/1.404, allocations: 19.08 kB / 1.356 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/1.404, allocations: 12.86 kB / 1.356 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.404, allocations: 288 / 1.356 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.0035/1.407, allocations: 0.9393 MB / 1.357 GB, free: 30.68 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