Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.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_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001049/0.00105, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.5/1.5, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 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.0009311/0.0009312, allocations: 99.84 kB / 0.9219 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.642e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3241, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.361, allocations: 148 MB / 1.35 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.361, allocations: 68.28 kB / 1.351 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003684/1.365, allocations: 0.9895 MB / 1.351 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.216e-06/1.365, allocations: 3.938 kB / 1.351 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.237e-06/1.365, allocations: 7.875 kB / 1.351 GB, free: 33.96 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.0003071/1.365, allocations: 335.6 kB / 1.352 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.365, allocations: 8.453 kB / 1.352 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/1.365, allocations: 3.938 kB / 1.352 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/1.365, allocations: 183.7 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.365, allocations: 3.812 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/1.365, allocations: 0 / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.208e-05/1.365, allocations: 18.69 kB / 1.352 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/1.366, allocations: 78.14 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.366, allocations: 3.812 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/1.366, allocations: 0.6094 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.366, allocations: 0 / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/1.366, allocations: 0.5705 MB / 1.353 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/1.366, allocations: 169 kB / 1.353 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/1.366, allocations: 80.8 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/1.366, allocations: 79.28 kB / 1.353 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/1.366, allocations: 114.2 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.366, allocations: 0 / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.159e-05/1.366, allocations: 34.28 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/1.366, allocations: 51.41 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/1.367, allocations: 107.7 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/1.367, allocations: 25.7 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/1.367, allocations: 92.73 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-06/1.367, allocations: 4 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/1.367, allocations: 3.875 kB / 1.353 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.367, allocations: 315.9 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-06/1.367, allocations: 0 / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/1.367, allocations: 4.672 kB / 1.354 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/1.367, allocations: 76.45 kB / 1.354 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.752e-05/1.367, allocations: 79.22 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.826e-05/1.367, allocations: 37.34 kB / 1.354 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.367, allocations: 91.12 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/1.367, allocations: 80.02 kB / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-05/1.367, allocations: 155.2 kB / 1.354 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/1.367, allocations: 79.22 kB / 1.354 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.697e-05/1.367, allocations: 155.2 kB / 1.354 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/1.367, allocations: 75.89 kB / 1.354 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/1.367, allocations: 83.97 kB / 1.355 GB, free: 30.82 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.0001407/1.367, allocations: 255.4 kB / 1.355 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/1.368, allocations: 102.3 kB / 1.355 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/1.368, allocations: 121 kB / 1.355 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.469e-05/1.368, allocations: 181 kB / 1.355 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.658e-05/1.368, allocations: 181.4 kB / 1.355 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.558e-05/1.368, allocations: 188.9 kB / 1.356 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/1.368, allocations: 393.4 kB / 1.356 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-05/1.368, allocations: 101.6 kB / 1.356 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/1.368, allocations: 105.5 kB / 1.356 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-05/1.368, allocations: 180.7 kB / 1.356 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/1.368, allocations: 180.8 kB / 1.356 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-05/1.368, allocations: 181.5 kB / 1.357 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.397e-05/1.368, allocations: 177 kB / 1.357 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/1.369, allocations: 313.3 kB / 1.357 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/1.369, allocations: 187.5 kB / 1.357 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/1.369, allocations: 176.8 kB / 1.357 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/1.369, allocations: 105.5 kB / 1.358 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/1.369, allocations: 182.4 kB / 1.358 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/1.369, allocations: 107.2 kB / 1.358 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.757e-05/1.369, allocations: 92.08 kB / 1.358 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.21e-07/1.369, allocations: 0 / 1.358 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002548/1.369, allocations: 11.91 kB / 1.358 GB, free: 27.25 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.0001702/1.369, allocations: 173.1 kB / 1.358 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.289e-05/1.369, allocations: 5.734 kB / 1.358 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.369, allocations: 0 / 1.358 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.37, allocations: 0 / 1.358 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/1.37, allocations: 0.5312 MB / 1.359 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/1.37, allocations: 152.6 kB / 1.359 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/1.37, allocations: 0.6986 MB / 1.359 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.281e-05/1.37, allocations: 2.109 kB / 1.359 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/1.37, allocations: 7.438 kB / 1.359 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.37, allocations: 0 / 1.359 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.002058/1.373, allocations: 252.8 kB / 1.36 GB, free: 25.65 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches