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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 198.3 kB / 16.53 MB, free: 6.668 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.598/2.598, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.91 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7523, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.002045/0.7544, allocations: 0.6 MB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004182/0.7548, allocations: 107.7 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.7549, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.755, allocations: 3.938 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.7554, allocations: 39.83 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.291e-05/0.7554, allocations: 8 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.7555, allocations: 31.92 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.7557, allocations: 19.98 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.7558, allocations: 63.81 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.7559, allocations: 7.938 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.7559, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.7559, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.756, allocations: 15.98 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.756, allocations: 19.88 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.95e-05/0.7561, allocations: 43.81 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7561, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7561, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7561, allocations: 0 / 1.018 GB, free: 1.559 MB / 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.0004928/0.7566, allocations: 353.3 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.7567, allocations: 8.031 kB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.7567, allocations: 12.84 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.7571, allocations: 188.2 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.7571, allocations: 384 / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.7571, allocations: 8.375 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.7573, allocations: 80.75 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.7574, allocations: 4.188 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.7574, allocations: 3.938 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7574, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.7574, allocations: 35.91 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.7581, allocations: 0.5934 MB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.7582, allocations: 173.1 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.7583, allocations: 88.17 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.7583, allocations: 79.27 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/0.7584, allocations: 105.8 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.7584, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.173e-05/0.7585, allocations: 33.55 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.7586, allocations: 126.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.7588, allocations: 159.2 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.7588, allocations: 29.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.7589, allocations: 92.12 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.93e-06/0.7589, allocations: 4 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.7589, allocations: 9.719 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.7591, allocations: 330.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-06/0.7591, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.7591, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.7592, allocations: 79.31 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.484e-05/0.7592, allocations: 75.28 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.629e-05/0.7593, allocations: 41.61 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.7593, allocations: 79.28 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.443e-05/0.7594, allocations: 79.22 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.898e-05/0.7595, allocations: 150.6 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.7595, allocations: 87.2 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.664e-05/0.7596, allocations: 154.6 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.7598, allocations: 79.22 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.7598, allocations: 83.22 kB / 1.022 GB, free: 13.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.76, allocations: 268.4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.7601, allocations: 108.9 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.7602, allocations: 128.7 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.179e-05/0.7603, allocations: 176.3 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-05/0.7604, allocations: 180.2 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.048e-05/0.7604, allocations: 184.2 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.7608, allocations: 421.2 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/0.7608, allocations: 104.9 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.7609, allocations: 105 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.384e-05/0.761, allocations: 184.2 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.812e-05/0.7611, allocations: 180.2 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.243e-05/0.7612, allocations: 180.6 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-05/0.7613, allocations: 180.2 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.7614, allocations: 319.6 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.7616, allocations: 190.1 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/0.7617, allocations: 176.3 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7618, allocations: 108.9 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.7619, allocations: 180.3 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/0.7619, allocations: 116.8 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001122/0.762, allocations: 124.6 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.762, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003371/0.7624, allocations: 4 kB / 1.025 GB, free: 10.17 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 (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.0002201/0.7626, allocations: 170.5 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.246e-05/0.7627, allocations: 4 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7627, allocations: 4 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.7627, allocations: 4 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.7633, allocations: 457.4 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.7637, allocations: 216.3 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.7642, allocations: 0.6884 MB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.7642, allocations: 4 kB / 1.026 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.7643, allocations: 7.438 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7643, allocations: 0 / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of Templates: time 0.003306/0.7676, allocations: 407.3 kB / 1.027 GB, free: 8.172 MB / 0.7794 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 -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/jenkins/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