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.29/2.29, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001055/0.001055, allocations: 184.7 kB / 487.4 MB, free: 5.039 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.588/1.588, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008946/0.0008948, allocations: 97.3 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.283e-05, allocations: 5.641 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2686, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.311, allocations: 148 MB / 1.351 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/1.311, allocations: 66.08 kB / 1.351 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003546/1.315, allocations: 0.978 MB / 1.352 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.418e-06/1.315, allocations: 1.906 kB / 1.352 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.315, allocations: 7.688 kB / 1.352 GB, free: 33.81 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.0002775/1.315, allocations: 343.6 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.315, allocations: 9.094 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/1.315, allocations: 4.484 kB / 1.352 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/1.316, allocations: 188 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/1.316, allocations: 1.25 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/1.316, allocations: 6.438 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.394e-05/1.316, allocations: 21.55 kB / 1.352 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/1.316, allocations: 70.47 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.316, allocations: 0 / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.316, allocations: 1.969 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.316, allocations: 1.344 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/1.316, allocations: 0.5727 MB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/1.316, allocations: 165.8 kB / 1.353 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/1.316, allocations: 85.52 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/1.317, allocations: 75.28 kB / 1.353 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/1.317, allocations: 111.8 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/1.317, allocations: 0 / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.987e-05/1.317, allocations: 32.97 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/1.317, allocations: 51.41 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/1.317, allocations: 111.9 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/1.317, allocations: 31.05 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/1.317, allocations: 92.42 kB / 1.353 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/1.317, allocations: 1.25 kB / 1.353 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-07/1.317, allocations: 0 / 1.353 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.317, allocations: 317.4 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-06/1.317, allocations: 0 / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/1.317, allocations: 3.797 kB / 1.354 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/1.317, allocations: 76.59 kB / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/1.317, allocations: 80.06 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.591e-05/1.317, allocations: 38.61 kB / 1.354 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/1.317, allocations: 84.44 kB / 1.354 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/1.317, allocations: 75.28 kB / 1.354 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.423e-05/1.317, allocations: 152.5 kB / 1.354 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.824e-05/1.317, allocations: 81.56 kB / 1.354 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-05/1.317, allocations: 155.3 kB / 1.355 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/1.317, allocations: 85.22 kB / 1.355 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/1.317, allocations: 81.23 kB / 1.355 GB, free: 30.67 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 9.842e-05/1.318, allocations: 257.7 kB / 1.355 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.88e-05/1.318, allocations: 132.5 kB / 1.355 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/1.318, allocations: 114.7 kB / 1.355 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/1.318, allocations: 112.6 kB / 1.355 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.927e-05/1.318, allocations: 189.6 kB / 1.355 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-05/1.318, allocations: 182.1 kB / 1.356 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-05/1.318, allocations: 178.2 kB / 1.356 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/1.318, allocations: 393.6 kB / 1.356 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.39e-05/1.318, allocations: 108.5 kB / 1.356 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/1.318, allocations: 105.6 kB / 1.356 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-05/1.318, allocations: 178.2 kB / 1.357 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/1.318, allocations: 183.1 kB / 1.357 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.095e-05/1.318, allocations: 176.9 kB / 1.357 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.818e-05/1.318, allocations: 178.7 kB / 1.357 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/1.319, allocations: 313.5 kB / 1.357 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/1.319, allocations: 180.7 kB / 1.358 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/1.319, allocations: 182.3 kB / 1.358 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/1.319, allocations: 106 kB / 1.358 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/1.319, allocations: 182 kB / 1.358 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/1.319, allocations: 110.9 kB / 1.358 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.083e-05/1.319, allocations: 94.58 kB / 1.358 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.319, allocations: 0 / 1.358 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00024/1.319, allocations: 11.81 kB / 1.358 GB, free: 26.95 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.0003979/1.32, allocations: 0.8056 MB / 1.359 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.375e-05/1.32, allocations: 8.609 kB / 1.359 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.32, allocations: 1.25 kB / 1.359 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/1.32, allocations: 0 / 1.359 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/1.32, allocations: 0.5207 MB / 1.359 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/1.32, allocations: 189.3 kB / 1.36 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/1.321, allocations: 0.6929 MB / 1.36 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.566e-05/1.321, allocations: 2.141 kB / 1.36 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/1.321, allocations: 13.7 kB / 1.36 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.321, allocations: 0 / 1.36 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/1.343, allocations: 0.7637 MB / 1.361 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.343, allocations: 156.5 kB / 1.361 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.896, allocations: 0 / 1.361 GB, free: 24.47 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