Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intFil.u.1.|intFil.u.2.|intFil.u.3.|intFil.y.1.|intFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 390.5 MB / 398 MB, free: 10.94 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.001201/0.001201, allocations: 187.9 kB / 491.2 MB, free: 1.547 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.648/1.648, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009201/0.0009199, allocations: 91.89 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.073e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3374, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.426, allocations: 148.8 MB / 1.358 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.426, allocations: 68.38 kB / 1.358 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003857/1.43, allocations: 0.9919 MB / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.813e-06/1.43, allocations: 1.156 kB / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.857e-05/1.43, allocations: 3.844 kB / 1.359 GB, free: 33.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003429/1.431, allocations: 335.9 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.431, allocations: 7.812 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/1.431, allocations: 8.312 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/1.431, allocations: 182.2 kB / 1.359 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/1.431, allocations: 3.844 kB / 1.359 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/1.431, allocations: 1.125 kB / 1.359 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.077e-05/1.431, allocations: 21.08 kB / 1.359 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/1.431, allocations: 74.14 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.431, allocations: 0 / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.431, allocations: 3.875 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.431, allocations: 3.938 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/1.432, allocations: 0.5665 MB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/1.432, allocations: 169.1 kB / 1.36 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/1.432, allocations: 83.98 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/1.432, allocations: 75.28 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/1.432, allocations: 109.2 kB / 1.36 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.953e-06/1.432, allocations: 0 / 1.36 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.755e-05/1.432, allocations: 39.06 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/1.432, allocations: 51.41 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.432, allocations: 113 kB / 1.36 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.432, allocations: 25.7 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/1.432, allocations: 96.86 kB / 1.361 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/1.432, allocations: 3.875 kB / 1.361 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-07/1.432, allocations: 0 / 1.361 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.433, allocations: 316.4 kB / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/1.433, allocations: 0 / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/1.433, allocations: 1.125 kB / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/1.433, allocations: 83.12 kB / 1.361 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/1.433, allocations: 79.22 kB / 1.361 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.139e-05/1.433, allocations: 38.83 kB / 1.361 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/1.433, allocations: 79.09 kB / 1.361 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.433, allocations: 75.28 kB / 1.361 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.948e-05/1.433, allocations: 155.8 kB / 1.361 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.759e-05/1.433, allocations: 87.05 kB / 1.361 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.894e-05/1.433, allocations: 154.6 kB / 1.362 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/1.433, allocations: 78.81 kB / 1.362 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/1.433, allocations: 79.22 kB / 1.362 GB, free: 29.98 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001259/1.433, allocations: 255.5 kB / 1.362 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/1.433, allocations: 103.2 kB / 1.362 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/1.433, allocations: 117 kB / 1.362 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.886e-05/1.433, allocations: 188.2 kB / 1.362 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.992e-05/1.433, allocations: 182 kB / 1.363 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.279e-05/1.434, allocations: 180.1 kB / 1.363 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/1.434, allocations: 396.5 kB / 1.363 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/1.434, allocations: 101.9 kB / 1.363 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/1.434, allocations: 106.2 kB / 1.363 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-05/1.434, allocations: 180.2 kB / 1.363 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/1.434, allocations: 181.6 kB / 1.364 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.468e-05/1.434, allocations: 176.3 kB / 1.364 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.976e-05/1.434, allocations: 185.8 kB / 1.364 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/1.434, allocations: 305.6 kB / 1.364 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/1.434, allocations: 190.7 kB / 1.364 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/1.434, allocations: 177.5 kB / 1.365 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/1.435, allocations: 102.2 kB / 1.365 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/1.435, allocations: 192.4 kB / 1.365 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/1.435, allocations: 110.1 kB / 1.365 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.353e-05/1.435, allocations: 89.12 kB / 1.365 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.435, allocations: 3.938 kB / 1.365 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002334/1.435, allocations: 3.875 kB / 1.365 GB, free: 26.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000146/1.435, allocations: 175.2 kB / 1.365 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.909e-05/1.435, allocations: 4.391 kB / 1.365 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.435, allocations: 288 / 1.365 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/1.435, allocations: 4 kB / 1.365 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/1.436, allocations: 0.5306 MB / 1.366 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/1.436, allocations: 149.3 kB / 1.366 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/1.436, allocations: 0.6969 MB / 1.367 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.357e-05/1.436, allocations: 6.109 kB / 1.367 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/1.436, allocations: 7.438 kB / 1.367 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/1.436, allocations: 0 / 1.367 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.002201/1.438, allocations: 247.4 kB / 1.367 GB, free: 24.81 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches