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.524/2.524, 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.001132/0.001132, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.68/1.68, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009837/0.0009838, allocations: 96.25 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.016e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2615, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8437/1.105, allocations: 148.6 MB / 1.358 GB, free: 19.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/1.105, allocations: 65.22 kB / 1.358 GB, free: 19.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003156/1.109, allocations: 0.9949 MB / 1.359 GB, free: 34.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/1.109, allocations: 0 / 1.359 GB, free: 34.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.217e-06/1.109, allocations: 0.5625 kB / 1.359 GB, free: 34.87 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.0002091/1.109, allocations: 346.4 kB / 1.359 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.109, allocations: 15.75 kB / 1.359 GB, free: 34.51 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/1.109, allocations: 35.38 kB / 1.359 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/1.109, allocations: 4.969 kB / 1.359 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/1.109, allocations: 187.2 kB / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/1.109, allocations: 3.656 kB / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/1.109, allocations: 0 / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/1.109, allocations: 77.89 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/1.109, allocations: 0 / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/1.109, allocations: 4 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.109, allocations: 0 / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/1.109, allocations: 29.36 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/1.11, allocations: 0.6055 MB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.301e-05/1.11, allocations: 165.1 kB / 1.36 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/1.11, allocations: 87.17 kB / 1.36 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/1.11, allocations: 76.08 kB / 1.36 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.11, allocations: 113.7 kB / 1.36 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/1.11, allocations: 0 / 1.36 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.179e-05/1.11, allocations: 38.08 kB / 1.36 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/1.11, allocations: 127.3 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/1.11, allocations: 144.5 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/1.11, allocations: 25.7 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/1.11, allocations: 93.09 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/1.11, allocations: 0 / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.11, allocations: 0 / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.11, allocations: 317.1 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/1.11, allocations: 4 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/1.11, allocations: 4.547 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/1.11, allocations: 80.02 kB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/1.11, allocations: 78.97 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.047e-05/1.111, allocations: 38.22 kB / 1.361 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/1.111, allocations: 84.53 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.111, allocations: 78.16 kB / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.383e-05/1.111, allocations: 163 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.819e-05/1.111, allocations: 79.55 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-05/1.111, allocations: 155 kB / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.08e-05/1.111, allocations: 80.3 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/1.111, allocations: 79.73 kB / 1.362 GB, free: 31.58 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.941e-05/1.111, allocations: 256.3 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/1.111, allocations: 117.5 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/1.111, allocations: 113.8 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-05/1.111, allocations: 187.4 kB / 1.363 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-05/1.111, allocations: 177.1 kB / 1.363 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-05/1.111, allocations: 181 kB / 1.363 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/1.111, allocations: 423.9 kB / 1.363 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/1.111, allocations: 101.6 kB / 1.363 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/1.112, allocations: 105.6 kB / 1.364 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.677e-05/1.112, allocations: 180.6 kB / 1.364 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/1.112, allocations: 180.8 kB / 1.364 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-05/1.112, allocations: 185.3 kB / 1.364 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.836e-05/1.112, allocations: 185.4 kB / 1.364 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/1.112, allocations: 312.7 kB / 1.365 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/1.112, allocations: 190.8 kB / 1.365 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/1.112, allocations: 181 kB / 1.365 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/1.112, allocations: 105.7 kB / 1.365 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/1.112, allocations: 189.2 kB / 1.365 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/1.112, allocations: 105.7 kB / 1.365 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.85e-05/1.112, allocations: 123.7 kB / 1.365 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.112, allocations: 0 / 1.365 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004579/1.113, allocations: 4.562 kB / 1.365 GB, free: 27.96 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.0005252/1.113, allocations: 0.8104 MB / 1.366 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.186e-05/1.113, allocations: 8.688 kB / 1.366 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.113, allocations: 0 / 1.366 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/1.113, allocations: 0 / 1.366 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/1.114, allocations: 0.523 MB / 1.367 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/1.114, allocations: 209 kB / 1.367 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.115, allocations: 0.6904 MB / 1.368 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.98e-05/1.115, allocations: 5.234 kB / 1.368 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/1.115, allocations: 19.5 kB / 1.368 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.115, allocations: 0 / 1.368 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/1.127, allocations: 1.33 MB / 1.369 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.128, allocations: 168.3 kB / 1.369 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.64, allocations: 0 / 1.369 GB, free: 25.34 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