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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003589, allocations: 8 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8572/0.8576, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0008693/0.8585, allocations: 335.6 kB / 1.021 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.8589, allocations: 111.7 kB / 1.021 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.8589, allocations: 0 / 1.021 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.59e-05/0.859, allocations: 0 / 1.021 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.8593, allocations: 19.92 kB / 1.021 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.81e-05/0.8594, allocations: 8 kB / 1.021 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.621e-05/0.8595, allocations: 15.97 kB / 1.021 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.8596, allocations: 23.98 kB / 1.021 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.8597, allocations: 43.91 kB / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/0.8598, allocations: 11.92 kB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.8598, allocations: 0 / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.8598, allocations: 4 kB / 1.021 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.8599, allocations: 15.97 kB / 1.021 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.8599, allocations: 33.64 kB / 1.021 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.903e-05/0.86, allocations: 31.94 kB / 1.021 GB, free: 456 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.86, allocations: 0 / 1.021 GB, free: 456 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.936e-06/0.86, allocations: 4 kB / 1.021 GB, free: 452 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.86, allocations: 0 / 1.021 GB, free: 452 kB / 0.7637 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.0003391/0.8603, allocations: 345.1 kB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.8604, allocations: 15.98 kB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.8604, allocations: 0 / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.8606, allocations: 175 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.8607, allocations: 11.94 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.8607, allocations: 4 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.8609, allocations: 92.12 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8609, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.8609, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8609, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.861, allocations: 27.92 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.8615, allocations: 0.6051 MB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.8616, allocations: 165.1 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.8616, allocations: 75.28 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.8616, allocations: 109.8 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.8616, allocations: 4 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.738e-05/0.8617, allocations: 41.53 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.8618, allocations: 126.7 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.862, allocations: 154 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.862, allocations: 29.7 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.8621, allocations: 92.14 kB / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.8621, allocations: 4 kB / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/0.8621, allocations: 0 / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8622, allocations: 322.8 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-06/0.8622, allocations: 3.938 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.8623, allocations: 8 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/0.8623, allocations: 75.28 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/0.8623, allocations: 75.28 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.629e-05/0.8624, allocations: 37.59 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.8624, allocations: 87.22 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.8625, allocations: 75.28 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.465e-05/0.8625, allocations: 158.6 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.497e-05/0.8626, allocations: 79.22 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-05/0.8626, allocations: 154.6 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.8628, allocations: 79.22 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.8628, allocations: 79.28 kB / 1.025 GB, free: 12.94 MB / 0.7794 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 () * Number of clocked 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.000138/0.863, allocations: 276.3 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.863, allocations: 112.9 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.8631, allocations: 116.8 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/0.8632, allocations: 176.3 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.456e-05/0.8632, allocations: 180.2 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-05/0.8633, allocations: 176.3 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.8636, allocations: 425.2 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/0.8636, allocations: 108.9 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.8637, allocations: 105.2 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-05/0.8637, allocations: 180.2 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/0.8638, allocations: 184.2 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.856e-05/0.8639, allocations: 188.3 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.24e-05/0.8639, allocations: 184.2 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.8641, allocations: 315.6 kB / 1.027 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.8642, allocations: 186 kB / 1.027 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.8643, allocations: 184.3 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.8644, allocations: 108.9 kB / 1.028 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.8644, allocations: 176.3 kB / 1.028 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.8645, allocations: 108.9 kB / 1.028 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.8646, allocations: 121.4 kB / 1.028 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8646, allocations: 0 / 1.028 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002535/0.8648, allocations: 4 kB / 1.028 GB, free: 9.176 MB / 0.7794 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 () * Number of clocked 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.000151/0.865, allocations: 178.5 kB / 1.028 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.904e-05/0.8651, allocations: 4 kB / 1.028 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8651, allocations: 3.938 kB / 1.028 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.8651, allocations: 0 / 1.028 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.8654, allocations: 0.5224 MB / 1.029 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.8657, allocations: 210.2 kB / 1.029 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.866, allocations: 0.6887 MB / 1.03 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.866, allocations: 8 kB / 1.03 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.8661, allocations: 7.438 kB / 1.03 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.8661, allocations: 0 / 1.03 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of Templates: time 0.002489/0.8686, allocations: 399.7 kB / 1.03 GB, free: 7.098 MB / 0.7794 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