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.001485/0.001485, allocations: 116.8 kB / 16.37 MB, free: 6 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.00164/0.00164, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.19 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.41/2.41, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.81 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.001729/0.3206, allocations: 0.6016 MB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003125/0.321, allocations: 115.7 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.321, allocations: 4 kB / 1.02 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.136e-05/0.3211, allocations: 3.938 kB / 1.02 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.3214, allocations: 31.91 kB / 1.02 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.211e-05/0.3215, allocations: 0 / 1.02 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.3215, allocations: 23.98 kB / 1.02 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.3217, allocations: 23.98 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3218, allocations: 63.81 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.3218, allocations: 11.94 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3219, allocations: 4 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.3219, allocations: 4 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.3219, allocations: 19.92 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.322, allocations: 15.88 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.168e-05/0.322, allocations: 47.81 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.322, allocations: 0 / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3221, allocations: 0 / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3221, allocations: 4 kB / 1.02 GB, free: 8.922 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.0003013/0.3224, allocations: 355.3 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3224, allocations: 12.62 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.3224, allocations: 4.844 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3226, allocations: 184.3 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3226, allocations: 4.312 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.3226, allocations: 8.375 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.3228, allocations: 72.81 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.3228, allocations: 192 / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3228, allocations: 7.938 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3228, allocations: 7.938 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.3229, allocations: 23.92 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.3233, allocations: 0.6011 MB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.557e-05/0.3234, allocations: 173.1 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.3234, allocations: 84.14 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3234, allocations: 79.27 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.3235, allocations: 105.8 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3235, allocations: 3.938 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 6.358e-05/0.3236, allocations: 33.64 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3236, allocations: 126.7 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3238, allocations: 153.8 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3238, allocations: 29.7 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.3238, allocations: 96.12 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.3238, allocations: 0 / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.3239, allocations: 13.72 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.324, allocations: 322.8 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-06/0.324, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.324, allocations: 4 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.324, allocations: 79.28 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.42e-05/0.3241, allocations: 79.31 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.594e-05/0.3241, allocations: 39.08 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.3242, allocations: 81.78 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.3242, allocations: 79.28 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.326e-05/0.3242, allocations: 150.6 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.25e-05/0.3243, allocations: 83.2 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-05/0.3243, allocations: 150.6 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.3244, allocations: 95.19 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.3245, allocations: 79.28 kB / 1.023 GB, free: 5.309 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.0001153/0.3246, allocations: 268.4 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.3247, allocations: 116.8 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.3247, allocations: 108.8 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/0.3248, allocations: 184.3 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.923e-05/0.3248, allocations: 180.2 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-05/0.3249, allocations: 180.2 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3251, allocations: 421.4 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/0.3251, allocations: 109 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.3252, allocations: 105 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.048e-05/0.3252, allocations: 184.2 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/0.3253, allocations: 184.2 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-05/0.3253, allocations: 184.2 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.306e-05/0.3254, allocations: 180.2 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.3255, allocations: 315.6 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.3256, allocations: 201.9 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.3257, allocations: 184.1 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.3257, allocations: 105 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.3258, allocations: 176.3 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.3258, allocations: 116.8 kB / 1.026 GB, free: 1.656 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.753e-05/0.3259, allocations: 119.2 kB / 1.026 GB, free: 1.539 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3259, allocations: 0 / 1.026 GB, free: 1.539 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002501/0.3262, allocations: 4 kB / 1.026 GB, free: 1.535 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.000115/0.3263, allocations: 178.5 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.249e-05/0.3263, allocations: 0 / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3263, allocations: 0 / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.3264, allocations: 0 / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3267, allocations: 471.6 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.3269, allocations: 192.3 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.3272, allocations: 0.6885 MB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.3272, allocations: 4 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.3272, allocations: 7.438 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3272, allocations: 4 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of Templates: time 0.002103/0.3293, allocations: 409.9 kB / 1.028 GB, free: 15.54 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 cvode -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