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.298/2.298, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.0013/0.0013, allocations: 171.6 kB / 498.1 MB, free: 5.754 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.668/1.668, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.0008642/0.0008642, allocations: 92.33 kB / 0.9346 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003305, allocations: 13.41 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2406, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.4149, allocations: 148.7 MB / 1.368 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4151, allocations: 71.91 kB / 1.368 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002809/0.418, allocations: 0.9947 MB / 1.369 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.532e-06/0.418, allocations: 0 / 1.369 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.418, allocations: 8 kB / 1.369 GB, free: 3.574 MB / 0.8698 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.0003142/0.4183, allocations: 347.2 kB / 1.37 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4184, allocations: 8.031 kB / 1.37 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.4184, allocations: 34.55 kB / 1.37 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.4185, allocations: 8 kB / 1.37 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.4187, allocations: 186.8 kB / 1.37 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4187, allocations: 4 kB / 1.37 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.4187, allocations: 8 kB / 1.37 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.4189, allocations: 80.23 kB / 1.37 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4189, allocations: 0 / 1.37 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.4189, allocations: 0 / 1.37 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.4189, allocations: 0 / 1.37 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.419, allocations: 31.92 kB / 1.37 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.4194, allocations: 0.5934 MB / 1.37 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.4195, allocations: 173.1 kB / 1.371 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.4195, allocations: 75.28 kB / 1.371 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.4196, allocations: 109.8 kB / 1.371 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4196, allocations: 7.875 kB / 1.371 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.455e-05/0.4197, allocations: 41.59 kB / 1.371 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.4197, allocations: 126.7 kB / 1.371 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.4199, allocations: 146.1 kB / 1.371 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4199, allocations: 25.7 kB / 1.371 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.4199, allocations: 92.14 kB / 1.371 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.4199, allocations: 0 / 1.371 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.4199, allocations: 0 / 1.371 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.42, allocations: 318.8 kB / 1.372 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.4201, allocations: 4 kB / 1.372 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.4201, allocations: 4 kB / 1.372 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.4201, allocations: 79.28 kB / 1.372 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-05/0.4201, allocations: 75.28 kB / 1.372 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.889e-05/0.4202, allocations: 37.55 kB / 1.372 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.4203, allocations: 83.89 kB / 1.372 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.4203, allocations: 83.3 kB / 1.372 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.523e-05/0.4204, allocations: 166.5 kB / 1.372 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.05e-05/0.4204, allocations: 75.28 kB / 1.372 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.475e-05/0.4204, allocations: 154.5 kB / 1.372 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.4205, allocations: 87.22 kB / 1.372 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.4206, allocations: 75.28 kB / 1.372 GB, free: 40 kB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.4207, allocations: 274.1 kB / 1.373 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.4208, allocations: 112.8 kB / 1.373 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.4208, allocations: 116.6 kB / 1.373 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.843e-05/0.4209, allocations: 184.2 kB / 1.373 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.768e-05/0.4209, allocations: 180.3 kB / 1.373 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-05/0.421, allocations: 184.2 kB / 1.373 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.4212, allocations: 421.1 kB / 1.374 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/0.4213, allocations: 104.9 kB / 1.374 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.4213, allocations: 108.9 kB / 1.374 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-05/0.4214, allocations: 188.2 kB / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.4214, allocations: 176.3 kB / 1.374 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.18e-05/0.4215, allocations: 180.2 kB / 1.375 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.378e-05/0.4216, allocations: 188.6 kB / 1.375 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.4218, allocations: 315.7 kB / 1.375 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.4218, allocations: 186.1 kB / 1.375 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.4219, allocations: 180.2 kB / 1.375 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.422, allocations: 109 kB / 1.375 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.4221, allocations: 192.2 kB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.4221, allocations: 101 kB / 1.376 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.809e-05/0.4222, allocations: 124.4 kB / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4222, allocations: 0 / 1.376 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002468/0.4225, allocations: 4 kB / 1.376 GB, free: 12.27 MB / 0.8855 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 (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.0003767/0.4229, allocations: 0.8124 MB / 1.377 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 3.895e-05/0.4229, allocations: 4 kB / 1.377 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4229, allocations: 0 / 1.377 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.4229, allocations: 0 / 1.377 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4232, allocations: 0.5263 MB / 1.377 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.424, allocations: 0.6961 MB / 1.378 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.4243, allocations: 0.6926 MB / 1.379 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.4243, allocations: 4 kB / 1.379 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.4243, allocations: 11.44 kB / 1.379 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.4243, allocations: 0 / 1.379 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.4359, allocations: 1.333 MB / 1.38 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.4361, allocations: 186.8 kB / 1.38 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.966, allocations: 4 kB / 1.38 GB, free: 7.992 MB / 0.8855 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