Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 387.1 MB / 399.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 172.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 99.72 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.921e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3244, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.437, allocations: 148.6 MB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.437, allocations: 64.47 kB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003279/1.441, allocations: 0.9936 MB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/1.441, allocations: 3.938 kB / 1.359 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.441, allocations: 0 / 1.359 GB, free: 34.72 MB / 0.8386 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.0002223/1.441, allocations: 339.3 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.441, allocations: 12.41 kB / 1.359 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/1.441, allocations: 34.38 kB / 1.359 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/1.441, allocations: 7.938 kB / 1.359 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/1.441, allocations: 185.6 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.441, allocations: 3.812 kB / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/1.441, allocations: 0 / 1.359 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/1.441, allocations: 81.48 kB / 1.359 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/1.441, allocations: 0 / 1.359 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/1.441, allocations: 3.375 kB / 1.359 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/1.441, allocations: 3.844 kB / 1.359 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/1.441, allocations: 27.48 kB / 1.359 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/1.442, allocations: 0.6016 MB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.097e-05/1.442, allocations: 172.5 kB / 1.36 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/1.442, allocations: 84.08 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/1.442, allocations: 75.28 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/1.442, allocations: 114.8 kB / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/1.442, allocations: 0 / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.794e-05/1.442, allocations: 33.52 kB / 1.36 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/1.442, allocations: 131.9 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/1.442, allocations: 146.1 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/1.442, allocations: 25.7 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/1.442, allocations: 96.23 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/1.442, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/1.442, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/1.442, allocations: 315.8 kB / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-06/1.442, allocations: 3.969 kB / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/1.442, allocations: 9.109 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/1.442, allocations: 75.28 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/1.442, allocations: 75.28 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.109e-05/1.443, allocations: 42.36 kB / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/1.443, allocations: 79.25 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/1.443, allocations: 76.73 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.624e-05/1.443, allocations: 162.2 kB / 1.362 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-05/1.443, allocations: 85.38 kB / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-05/1.443, allocations: 155.8 kB / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/1.443, allocations: 79.72 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/1.443, allocations: 80.59 kB / 1.362 GB, free: 31.43 MB / 0.8386 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 () * 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 8.06e-05/1.443, allocations: 253 kB / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/1.443, allocations: 123.4 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/1.443, allocations: 115.5 kB / 1.362 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/1.443, allocations: 184.2 kB / 1.363 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.826e-05/1.443, allocations: 181.5 kB / 1.363 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.194e-05/1.443, allocations: 180.2 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/1.443, allocations: 415.7 kB / 1.363 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/1.443, allocations: 109.2 kB / 1.363 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/1.443, allocations: 106.3 kB / 1.364 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-05/1.443, allocations: 180.1 kB / 1.364 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/1.444, allocations: 177.6 kB / 1.364 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-05/1.444, allocations: 181.2 kB / 1.364 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.435e-05/1.444, allocations: 185.5 kB / 1.364 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/1.444, allocations: 312.4 kB / 1.365 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/1.444, allocations: 187.8 kB / 1.365 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/1.444, allocations: 182.8 kB / 1.365 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/1.444, allocations: 102.6 kB / 1.365 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/1.444, allocations: 192.5 kB / 1.365 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/1.444, allocations: 106.2 kB / 1.365 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.952e-05/1.444, allocations: 125.5 kB / 1.365 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.444, allocations: 0 / 1.365 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002272/1.444, allocations: 3.844 kB / 1.365 GB, free: 27.81 MB / 0.8386 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 () * 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.0003655/1.445, allocations: 0.8107 MB / 1.366 GB, free: 27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.965e-05/1.445, allocations: 7.922 kB / 1.366 GB, free: 27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.445, allocations: 0 / 1.366 GB, free: 27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/1.445, allocations: 0 / 1.366 GB, free: 27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/1.445, allocations: 0.5237 MB / 1.367 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/1.446, allocations: 201.8 kB / 1.367 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.446, allocations: 0.6952 MB / 1.368 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.257e-05/1.446, allocations: 5.406 kB / 1.368 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/1.446, allocations: 16.34 kB / 1.368 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.446, allocations: 0 / 1.368 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/1.459, allocations: 1.306 MB / 1.369 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/1.459, allocations: 177.4 kB / 1.369 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/3.049, allocations: 0 / 1.369 GB, free: 25.19 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat does not exist to compare? outputFormat=mat