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.00102/0.00102, allocations: 99.11 kB / 16.02 MB, free: 76 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.001023/0.001023, allocations: 185.8 kB / 16.92 MB, free: 6.75 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.259/1.259, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 443.2 MB / 0.7181 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004165, allocations: 10.44 kB / 0.8801 GB, free: 41.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 155.2 MB / 1.032 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0007938/0.2489, allocations: 334.9 kB / 1.032 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003423/0.2492, allocations: 107.7 kB / 1.032 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.2493, allocations: 0 / 1.032 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.635e-05/0.2493, allocations: 4 kB / 1.032 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.2496, allocations: 27.91 kB / 1.032 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.705e-05/0.2497, allocations: 8 kB / 1.032 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.2498, allocations: 19.92 kB / 1.032 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.2499, allocations: 23.98 kB / 1.032 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.25, allocations: 55.83 kB / 1.032 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.2501, allocations: 11.92 kB / 1.032 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.2501, allocations: 0 / 1.032 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.2501, allocations: 4 kB / 1.032 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.2501, allocations: 11.98 kB / 1.032 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.2502, allocations: 45.58 kB / 1.032 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.364e-05/0.2503, allocations: 27.94 kB / 1.032 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2503, allocations: 3.938 kB / 1.032 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2503, allocations: 0 / 1.032 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2503, allocations: 0 / 1.032 GB, free: 3.832 MB / 0.7794 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.0002903/0.2506, allocations: 343.6 kB / 1.033 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2506, allocations: 16.02 kB / 1.033 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.2506, allocations: 4.844 kB / 1.033 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2508, allocations: 192.3 kB / 1.033 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2508, allocations: 8.359 kB / 1.033 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.2508, allocations: 12.31 kB / 1.033 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.251, allocations: 72.81 kB / 1.033 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.251, allocations: 192 / 1.033 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.251, allocations: 3.938 kB / 1.033 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.251, allocations: 4 kB / 1.033 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.2511, allocations: 27.92 kB / 1.033 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.2515, allocations: 0.5972 MB / 1.034 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.2516, allocations: 173.1 kB / 1.034 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.2516, allocations: 80.14 kB / 1.034 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.2517, allocations: 79.72 kB / 1.034 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.2517, allocations: 109.8 kB / 1.034 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2517, allocations: 0 / 1.034 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.922e-05/0.2518, allocations: 37.55 kB / 1.034 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.2519, allocations: 126.7 kB / 1.034 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.252, allocations: 155.2 kB / 1.034 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.252, allocations: 29.64 kB / 1.034 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.2521, allocations: 100.1 kB / 1.034 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.2521, allocations: 0 / 1.034 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.2521, allocations: 9.719 kB / 1.034 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2522, allocations: 326.8 kB / 1.035 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.2523, allocations: 0 / 1.035 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.2523, allocations: 7.984 kB / 1.035 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.2523, allocations: 75.28 kB / 1.035 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/0.2523, allocations: 75.28 kB / 1.035 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.477e-05/0.2524, allocations: 37.58 kB / 1.035 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.2524, allocations: 88.38 kB / 1.035 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.2525, allocations: 75.28 kB / 1.035 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.95e-05/0.2525, allocations: 154.6 kB / 1.035 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.472e-05/0.2526, allocations: 79.22 kB / 1.035 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-05/0.2526, allocations: 154.5 kB / 1.035 GB, free: 392 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.2528, allocations: 91.09 kB / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.2528, allocations: 79.28 kB / 1.036 GB, free: 220 kB / 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.0001569/0.253, allocations: 273.9 kB / 1.036 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.253, allocations: 108.8 kB / 1.036 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.2531, allocations: 112.9 kB / 1.036 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.241e-05/0.2532, allocations: 176.3 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.2532, allocations: 192.2 kB / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.597e-05/0.2533, allocations: 180.4 kB / 1.037 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.2535, allocations: 421.2 kB / 1.037 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/0.2535, allocations: 105 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.2536, allocations: 105 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.091e-05/0.2536, allocations: 188.2 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.2537, allocations: 176.3 kB / 1.038 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.506e-05/0.2538, allocations: 188.2 kB / 1.038 GB, free: 13.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.256e-05/0.2538, allocations: 180.3 kB / 1.038 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.2539, allocations: 303.7 kB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.254, allocations: 198 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.2541, allocations: 180.2 kB / 1.039 GB, free: 12.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.2542, allocations: 101 kB / 1.039 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.2542, allocations: 180.3 kB / 1.039 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.2543, allocations: 112.9 kB / 1.039 GB, free: 12.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.589e-05/0.2544, allocations: 129.2 kB / 1.039 GB, free: 12.46 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2544, allocations: 4 kB / 1.039 GB, free: 12.46 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002457/0.2546, allocations: 4 kB / 1.039 GB, free: 12.45 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.0001725/0.2548, allocations: 174.5 kB / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 3.358e-05/0.2548, allocations: 0 / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2549, allocations: 0 / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.2549, allocations: 4 kB / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.2553, allocations: 0.5263 MB / 1.04 GB, free: 11.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.2556, allocations: 243.6 kB / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.2559, allocations: 0.6887 MB / 1.041 GB, free: 10.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.2559, allocations: 11.44 kB / 1.041 GB, free: 10.73 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.2559, allocations: 0 / 1.041 GB, free: 10.73 MB / 0.795 GB Notification: Performance of Templates: time 0.00174/0.2577, allocations: 0.7025 MB / 1.041 GB, free: 10.03 MB / 0.795 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches