Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.259/2.259, allocations: 390.3 MB / 402.8 MB, free: 6.641 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.001173/0.001173, allocations: 178.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0008667/0.0008666, allocations: 83.95 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.454e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2848, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8614/1.146, allocations: 149.4 MB / 1.365 GB, free: 4.598 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/1.147, allocations: 62.59 kB / 1.365 GB, free: 4.566 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002856/1.149, allocations: 0.9981 MB / 1.366 GB, free: 3.68 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.41e-07/1.149, allocations: 5.969 kB / 1.366 GB, free: 3.676 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.157e-05/1.149, allocations: 4 kB / 1.366 GB, free: 3.672 MB / 0.823 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.0003136/1.15, allocations: 338.5 kB / 1.366 GB, free: 3.301 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/1.15, allocations: 8.031 kB / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.309e-05/1.15, allocations: 30.56 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/1.15, allocations: 8.781 kB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/1.15, allocations: 186 kB / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/1.15, allocations: 10.81 kB / 1.366 GB, free: 3.02 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/1.15, allocations: 7.938 kB / 1.366 GB, free: 3.012 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/1.15, allocations: 78.56 kB / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.15, allocations: 0 / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/1.15, allocations: 0 / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/1.15, allocations: 4 kB / 1.366 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/1.15, allocations: 26.73 kB / 1.367 GB, free: 2.906 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/1.151, allocations: 0.6021 MB / 1.367 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.537e-05/1.151, allocations: 168.1 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/1.151, allocations: 80.14 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/1.151, allocations: 83.23 kB / 1.367 GB, free: 1.926 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/1.151, allocations: 109.8 kB / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/1.151, allocations: 0 / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 0.0001016/1.151, allocations: 33.55 kB / 1.368 GB, free: 1.77 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/1.151, allocations: 130.7 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.152, allocations: 145.5 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.152, allocations: 25.7 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/1.152, allocations: 97.64 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/1.152, allocations: 3.938 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/1.152, allocations: 0 / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.152, allocations: 322.3 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-06/1.152, allocations: 0 / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/1.152, allocations: 0 / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/1.152, allocations: 79.28 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.633e-05/1.152, allocations: 75.28 kB / 1.368 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.08e-05/1.152, allocations: 41.58 kB / 1.368 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/1.152, allocations: 83.23 kB / 1.369 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/1.152, allocations: 75.28 kB / 1.369 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.597e-05/1.152, allocations: 162.5 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.224e-05/1.152, allocations: 82.16 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-05/1.152, allocations: 150.6 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/1.152, allocations: 87.72 kB / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/1.152, allocations: 75.28 kB / 1.369 GB, free: 152 kB / 0.823 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 0.00011/1.153, allocations: 251.5 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/1.153, allocations: 120 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/1.153, allocations: 120.4 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-05/1.153, allocations: 180.2 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-05/1.153, allocations: 184.2 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.237e-05/1.153, allocations: 183.5 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/1.153, allocations: 419.9 kB / 1.37 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/1.153, allocations: 101 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/1.153, allocations: 105 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-05/1.153, allocations: 188.2 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/1.153, allocations: 176.3 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.396e-05/1.153, allocations: 185.1 kB / 1.371 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-05/1.154, allocations: 179.6 kB / 1.371 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/1.154, allocations: 319 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/1.154, allocations: 182.1 kB / 1.372 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/1.154, allocations: 180.2 kB / 1.372 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/1.154, allocations: 109 kB / 1.372 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/1.154, allocations: 184.6 kB / 1.372 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/1.154, allocations: 107.9 kB / 1.372 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.438e-05/1.154, allocations: 121 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.154, allocations: 4 kB / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002576/1.154, allocations: 4 kB / 1.373 GB, free: 12.44 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.0004166/1.155, allocations: 0.8128 MB / 1.373 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.337e-05/1.155, allocations: 4.047 kB / 1.373 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.155, allocations: 4 kB / 1.373 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/1.155, allocations: 0 / 1.373 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/1.155, allocations: 0.5329 MB / 1.374 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/1.156, allocations: 196.3 kB / 1.374 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/1.156, allocations: 0.6965 MB / 1.375 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.046e-05/1.156, allocations: 7.984 kB / 1.375 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/1.156, allocations: 14.06 kB / 1.375 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of SimCode: time 2.144e-06/1.156, allocations: 0 / 1.375 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/1.168, allocations: 1.333 MB / 1.376 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/1.168, allocations: 173.4 kB / 1.376 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.638, allocations: 4 kB / 1.376 GB, free: 8.707 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat does not exist to compare? outputFormat=mat