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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.82, allocations: 142.3 MB / 0.9539 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0007494/0.8208, allocations: 361.1 kB / 0.9542 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.8211, allocations: 107 kB / 0.9543 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.8212, allocations: 7.938 kB / 0.9543 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.453e-05/0.8213, allocations: 7.922 kB / 0.9543 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.8216, allocations: 23.3 kB / 0.9543 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.43e-05/0.8216, allocations: 6.094 kB / 0.9543 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.8217, allocations: 23.52 kB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.8218, allocations: 21.7 kB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.8219, allocations: 57.12 kB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.822, allocations: 7.969 kB / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.822, allocations: 1.312 kB / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.7e-06/0.822, allocations: 0 / 0.9545 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.438e-05/0.8221, allocations: 14.89 kB / 0.9545 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.8221, allocations: 27.2 kB / 0.9545 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.353e-05/0.8222, allocations: 38.94 kB / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8222, allocations: 0 / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.083e-06/0.8222, allocations: 0 / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.8222, allocations: 1.5 kB / 0.9545 GB, free: 7.629 MB / 0.7169 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.0002325/0.8224, allocations: 345.1 kB / 0.9549 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.8225, allocations: 9.438 kB / 0.9549 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.8225, allocations: 35.73 kB / 0.9549 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.8225, allocations: 7.828 kB / 0.9549 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.8227, allocations: 187.9 kB / 0.9551 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.8227, allocations: 1.125 kB / 0.9551 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.8227, allocations: 6.969 kB / 0.9551 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.8228, allocations: 81.09 kB / 0.9552 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8228, allocations: 0 / 0.9552 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.8229, allocations: 1.188 kB / 0.9552 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8229, allocations: 1.188 kB / 0.9552 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.8229, allocations: 28.91 kB / 0.9552 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.8232, allocations: 0.595 MB / 0.9558 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/0.8233, allocations: 174 kB / 0.956 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.8233, allocations: 85.23 kB / 0.956 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.8233, allocations: 79.27 kB / 0.9561 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.8234, allocations: 106.8 kB / 0.9562 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.8234, allocations: 7.938 kB / 0.9562 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.239e-05/0.8234, allocations: 32.55 kB / 0.9563 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.8235, allocations: 131.9 kB / 0.9564 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.8236, allocations: 155.7 kB / 0.9565 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.8236, allocations: 25.7 kB / 0.9566 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.8237, allocations: 95.28 kB / 0.9566 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.8237, allocations: 1.062 kB / 0.9566 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-07/0.8237, allocations: 0 / 0.9566 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.201e-05/0.8237, allocations: 321.3 kB / 0.9569 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-06/0.8237, allocations: 0 / 0.9569 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/0.8237, allocations: 6.391 kB / 0.957 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.64e-05/0.8238, allocations: 76.38 kB / 0.957 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.8238, allocations: 75.28 kB / 0.9571 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.219e-05/0.8238, allocations: 42.5 kB / 0.9571 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.8239, allocations: 80.78 kB / 0.9572 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8239, allocations: 83.22 kB / 0.9573 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.8239, allocations: 159.4 kB / 0.9574 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.061e-05/0.8239, allocations: 84.23 kB / 0.9575 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.8239, allocations: 152.8 kB / 0.9577 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.8241, allocations: 81.59 kB / 0.9578 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.8241, allocations: 84.42 kB / 0.9578 GB, free: 4.16 MB / 0.7169 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 6.902e-05/0.8242, allocations: 274.5 kB / 0.9581 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.8242, allocations: 112.4 kB / 0.9582 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.8242, allocations: 120.7 kB / 0.9583 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.8243, allocations: 180.2 kB / 0.9585 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/0.8243, allocations: 181.4 kB / 0.9587 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.8243, allocations: 181.7 kB / 0.9588 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.8245, allocations: 421.5 kB / 0.9592 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.8245, allocations: 106 kB / 0.9593 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.8245, allocations: 102.8 kB / 0.9594 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.238e-05/0.8245, allocations: 180.2 kB / 0.9596 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.8246, allocations: 181.6 kB / 0.9598 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.368e-05/0.8246, allocations: 193.4 kB / 0.96 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-05/0.8246, allocations: 185.6 kB / 0.9601 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.074e-05/0.8247, allocations: 304.4 kB / 0.9604 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.8247, allocations: 190 kB / 0.9606 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.8248, allocations: 181.6 kB / 0.9608 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.8248, allocations: 108.9 kB / 0.9609 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.8249, allocations: 177.7 kB / 0.9611 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.8249, allocations: 106.4 kB / 0.9612 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.825, allocations: 128.6 kB / 0.9613 GB, free: 476 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.825, allocations: 0 / 0.9613 GB, free: 476 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002447/0.8252, allocations: 7.562 kB / 0.9613 GB, free: 472 kB / 0.7169 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.0003001/0.8255, allocations: 0.8072 MB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.75e-05/0.8256, allocations: 1.312 kB / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8256, allocations: 0 / 0.9621 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.8256, allocations: 5 kB / 0.9621 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.8259, allocations: 0.5302 MB / 0.9626 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000818/0.8268, allocations: 0.7041 MB / 0.9633 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.827, allocations: 0.6925 MB / 0.964 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.827, allocations: 8.219 kB / 0.964 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.8271, allocations: 16.88 kB / 0.964 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8271, allocations: 0 / 0.964 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.8375, allocations: 1.364 MB / 0.9653 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.8377, allocations: 202 kB / 0.9655 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.486, allocations: 3.938 kB / 0.9655 GB, free: 12.91 MB / 0.7325 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