Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001475/0.001482, allocations: 99.97 kB / 16.35 MB, free: 5.828 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.001402/0.001402, allocations: 191.1 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 72.2 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.33, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.00201/0.3321, allocations: 0.606 MB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003846/0.3325, allocations: 111.7 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.3325, allocations: 3.938 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.3327, allocations: 11.92 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.333, allocations: 23.92 kB / 1.02 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.253e-05/0.3331, allocations: 3.984 kB / 1.02 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.473e-05/0.3332, allocations: 31.91 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3333, allocations: 23.98 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3334, allocations: 51.91 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.3335, allocations: 15.92 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3335, allocations: 4 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.3335, allocations: 4 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.3336, allocations: 11.98 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.3336, allocations: 23.86 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.94e-05/0.3337, allocations: 47.81 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3337, allocations: 4 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3337, allocations: 0 / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3338, allocations: 0 / 1.02 GB, free: 8.906 MB / 0.795 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.0003599/0.3341, allocations: 351.3 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3342, allocations: 12.92 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.3342, allocations: 4.844 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3344, allocations: 188.2 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3344, allocations: 8.375 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3344, allocations: 4.375 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3346, allocations: 76.8 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3346, allocations: 192 / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3346, allocations: 7.938 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3346, allocations: 4 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.3347, allocations: 23.92 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.3352, allocations: 0.6049 MB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3353, allocations: 173.1 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.3353, allocations: 80.14 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.3354, allocations: 83.22 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.3354, allocations: 105.8 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3354, allocations: 0 / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.653e-05/0.3355, allocations: 29.7 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.3356, allocations: 126.7 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.3358, allocations: 157.8 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3358, allocations: 25.7 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.3359, allocations: 100.1 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3359, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.3359, allocations: 13.72 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.336, allocations: 318.8 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-06/0.336, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.336, allocations: 15.88 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.3361, allocations: 75.28 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.611e-05/0.3361, allocations: 75.28 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.145e-05/0.3362, allocations: 43.16 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.3362, allocations: 83.28 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/0.3363, allocations: 75.28 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.177e-05/0.3363, allocations: 154.5 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.067e-05/0.3364, allocations: 75.28 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.925e-05/0.3364, allocations: 158.5 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.3366, allocations: 91.25 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.3366, allocations: 79.27 kB / 1.023 GB, free: 5.289 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.3368, allocations: 268.3 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.3368, allocations: 116.9 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.3369, allocations: 108.9 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.945e-05/0.337, allocations: 180.2 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/0.337, allocations: 180.3 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.219e-05/0.3371, allocations: 192.2 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.3374, allocations: 417.4 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.088e-05/0.3374, allocations: 112.9 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.3375, allocations: 109 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.66e-05/0.3375, allocations: 184.3 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.3376, allocations: 184.2 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.139e-05/0.3377, allocations: 176.3 kB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.455e-05/0.3377, allocations: 176.3 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3379, allocations: 319.6 kB / 1.026 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.338, allocations: 193.9 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.3381, allocations: 184.2 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.3382, allocations: 101 kB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.3382, allocations: 180.2 kB / 1.026 GB, free: 1.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.3383, allocations: 108.9 kB / 1.026 GB, free: 1.648 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.075e-05/0.3384, allocations: 125.8 kB / 1.026 GB, free: 1.527 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3384, allocations: 0 / 1.026 GB, free: 1.527 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000253/0.3387, allocations: 4 kB / 1.026 GB, free: 1.523 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.3388, allocations: 178.5 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.734e-05/0.3389, allocations: 3.938 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3389, allocations: 0 / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.3389, allocations: 3.938 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3393, allocations: 463.7 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.3396, allocations: 196.3 kB / 1.027 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.34, allocations: 0.6846 MB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.34, allocations: 7.984 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.885e-05/0.3401, allocations: 7.438 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3401, allocations: 0 / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.002426/0.3425, allocations: 416 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches