Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.RealVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",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.58/2.58, 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.001182/0.001182, allocations: 184.6 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.756/1.756, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.0008937/0.0008937, allocations: 93.41 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.336e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8785/1.188, allocations: 148 MB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.188, allocations: 67.66 kB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003517/1.192, allocations: 0.9892 MB / 1.352 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/1.192, allocations: 1.656 kB / 1.352 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.192, allocations: 3.812 kB / 1.352 GB, free: 33.91 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.000258/1.192, allocations: 345 kB / 1.352 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.192, allocations: 12.39 kB / 1.352 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/1.192, allocations: 3.844 kB / 1.352 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/1.192, allocations: 184.2 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.192, allocations: 3.844 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/1.192, allocations: 0 / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.686e-05/1.192, allocations: 24.91 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/1.192, allocations: 73.55 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/1.192, allocations: 0 / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/1.193, allocations: 5.797 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.193, allocations: 1.281 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/1.193, allocations: 0.5624 MB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.928e-05/1.193, allocations: 169.1 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/1.193, allocations: 82.02 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/1.193, allocations: 79.22 kB / 1.353 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.193, allocations: 111.8 kB / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/1.193, allocations: 0 / 1.353 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.073e-05/1.193, allocations: 35.67 kB / 1.353 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.408e-05/1.193, allocations: 55.88 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/1.193, allocations: 105.7 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/1.193, allocations: 25.7 kB / 1.353 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/1.193, allocations: 101.1 kB / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/1.193, allocations: 0 / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-07/1.193, allocations: 0 / 1.353 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/1.193, allocations: 313.2 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-06/1.193, allocations: 0 / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/1.193, allocations: 10.83 kB / 1.354 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.917e-05/1.193, allocations: 77.28 kB / 1.354 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/1.194, allocations: 75.28 kB / 1.354 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.034e-05/1.194, allocations: 34.27 kB / 1.354 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/1.194, allocations: 81.19 kB / 1.354 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.194, allocations: 75.94 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.614e-05/1.194, allocations: 151.9 kB / 1.354 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.65e-05/1.194, allocations: 85.34 kB / 1.354 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.886e-05/1.194, allocations: 155.5 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.276e-05/1.194, allocations: 77.17 kB / 1.355 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/1.194, allocations: 80.5 kB / 1.355 GB, free: 30.77 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.757e-05/1.194, allocations: 257.5 kB / 1.355 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.482e-05/1.194, allocations: 144.4 kB / 1.355 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/1.194, allocations: 112.2 kB / 1.355 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/1.194, allocations: 111.9 kB / 1.355 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.017e-05/1.194, allocations: 182 kB / 1.355 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-05/1.194, allocations: 182.1 kB / 1.356 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.408e-05/1.194, allocations: 184.1 kB / 1.356 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/1.195, allocations: 395.5 kB / 1.356 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.224e-05/1.195, allocations: 106.9 kB / 1.356 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/1.195, allocations: 101.9 kB / 1.356 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.87e-05/1.195, allocations: 178.1 kB / 1.357 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/1.195, allocations: 189.5 kB / 1.357 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.547e-05/1.195, allocations: 180.9 kB / 1.357 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.025e-05/1.195, allocations: 182.2 kB / 1.357 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/1.195, allocations: 309.7 kB / 1.357 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/1.195, allocations: 185 kB / 1.358 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/1.195, allocations: 182.9 kB / 1.358 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/1.195, allocations: 110 kB / 1.358 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/1.195, allocations: 178.2 kB / 1.358 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/1.195, allocations: 106.8 kB / 1.358 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.661e-05/1.195, allocations: 95.11 kB / 1.358 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.195, allocations: 0 / 1.358 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000262/1.196, allocations: 3.906 kB / 1.358 GB, free: 27.04 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.000339/1.196, allocations: 0.8092 MB / 1.359 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.758e-05/1.196, allocations: 7.953 kB / 1.359 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.196, allocations: 1.312 kB / 1.359 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/1.196, allocations: 0 / 1.359 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/1.196, allocations: 0.526 MB / 1.359 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/1.197, allocations: 192.8 kB / 1.36 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/1.197, allocations: 0.6935 MB / 1.36 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.289e-05/1.197, allocations: 0 / 1.36 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/1.197, allocations: 16.95 kB / 1.36 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.197, allocations: 288 / 1.36 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/1.214, allocations: 0.7635 MB / 1.361 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.214, allocations: 152.6 kB / 1.361 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.38/2.594, allocations: 0 / 1.361 GB, free: 24.57 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat does not exist to compare? outputFormat=mat