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.175/2.175, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001068/0.001068, allocations: 180.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.0008872/0.0008872, allocations: 83.95 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.054e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3351, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.452, allocations: 149.8 MB / 1.365 GB, free: 4.262 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.453, allocations: 76.56 kB / 1.365 GB, free: 4.219 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00402/1.457, allocations: 1.244 MB / 1.366 GB, free: 3.094 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.096e-06/1.457, allocations: 0 / 1.366 GB, free: 3.094 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.457, allocations: 3.828 kB / 1.366 GB, free: 3.094 MB / 0.823 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.0005778/1.457, allocations: 393.4 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.457, allocations: 8.031 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/1.457, allocations: 7.906 kB / 1.367 GB, free: 2.656 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/1.458, allocations: 203.3 kB / 1.367 GB, free: 2.422 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/1.458, allocations: 7.188 kB / 1.367 GB, free: 2.418 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/1.458, allocations: 8 kB / 1.367 GB, free: 2.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/1.458, allocations: 127.2 kB / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.458, allocations: 0 / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/1.458, allocations: 0 / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.458, allocations: 0 / 1.367 GB, free: 2.297 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/1.458, allocations: 103.8 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/1.459, allocations: 435.3 kB / 1.368 GB, free: 1.766 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/1.459, allocations: 85.67 kB / 1.368 GB, free: 1.676 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/1.459, allocations: 51.44 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/1.459, allocations: 3.953 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/1.459, allocations: 34.5 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/1.459, allocations: 0 / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002765/1.459, allocations: 105.2 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/1.46, allocations: 77.11 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/1.46, allocations: 124.2 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/1.46, allocations: 29.39 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/1.46, allocations: 99.56 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/1.46, allocations: 7.906 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.46, allocations: 0 / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.46, allocations: 314.5 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/1.46, allocations: 34.28 kB / 1.368 GB, free: 0.793 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-05/1.46, allocations: 52.55 kB / 1.369 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/1.46, allocations: 23.67 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.46, allocations: 0 / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001602/1.46, allocations: 111.4 kB / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.46, allocations: 7.953 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.46, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.46, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/1.461, allocations: 35.22 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.461, allocations: 0 / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/1.461, allocations: 31.53 kB / 1.369 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/1.461, allocations: 4 kB / 1.369 GB, free: 0.5547 MB / 0.823 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 7.816e-05/1.461, allocations: 101 kB / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/1.461, allocations: 11.42 kB / 1.369 GB, free: 452 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/1.461, allocations: 14.67 kB / 1.369 GB, free: 440 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.461, allocations: 4.375 kB / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.461, allocations: 0 / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.461, allocations: 0 / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/1.461, allocations: 195.8 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.461, allocations: 7.938 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/1.461, allocations: 31.91 kB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.461, allocations: 0 / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.461, allocations: 7.984 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.461, allocations: 3.953 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.461, allocations: 0 / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/1.462, allocations: 286.2 kB / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/1.462, allocations: 85 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/1.462, allocations: 3.953 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/1.462, allocations: 27.97 kB / 1.369 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/1.462, allocations: 21.78 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/1.462, allocations: 7.938 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.23e-05/1.462, allocations: 94.64 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.462, allocations: 0 / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002441/1.462, allocations: 22.62 kB / 1.37 GB, free: 15.6 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.0001571/1.463, allocations: 111.2 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001625/1.463, allocations: 77.38 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.463, allocations: 0 / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.456e-05/1.463, allocations: 62.19 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/1.463, allocations: 4.688 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/1.463, allocations: 138.8 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/1.464, allocations: 0.7039 MB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.709e-05/1.464, allocations: 15.98 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/1.464, allocations: 11.44 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.464, allocations: 0 / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of Templates: time 0.003124/1.467, allocations: 1.046 MB / 1.372 GB, free: 13.44 MB / 0.8386 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