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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008087/0.0008088, allocations: 91.69 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.0007884/0.0007884, 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.368/1.368, 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.448/2.448, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.804/0.8044, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0009153/0.8054, allocations: 323.9 kB / 0.9542 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003722/0.8058, allocations: 102.6 kB / 0.9543 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.8058, allocations: 4 kB / 0.9543 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.807e-05/0.8059, allocations: 5.547 kB / 0.9543 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.8063, allocations: 22.48 kB / 0.9543 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.08e-05/0.8063, allocations: 8.953 kB / 0.9543 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.8064, allocations: 27.09 kB / 0.9543 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.8065, allocations: 18.88 kB / 0.9543 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.8067, allocations: 53.45 kB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.8067, allocations: 11.97 kB / 0.9544 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.8068, allocations: 0 / 0.9544 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.8068, allocations: 1.281 kB / 0.9544 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.8068, allocations: 18.38 kB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.8068, allocations: 31.3 kB / 0.9545 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.661e-05/0.8069, allocations: 34.44 kB / 0.9545 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8069, allocations: 1.406 kB / 0.9545 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8069, allocations: 0 / 0.9545 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.8069, allocations: 0 / 0.9545 GB, free: 7.617 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.0002856/0.8072, allocations: 345.3 kB / 0.9548 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.8073, allocations: 9.656 kB / 0.9548 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.8073, allocations: 39.77 kB / 0.9549 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.8074, allocations: 8.297 kB / 0.9549 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.8075, allocations: 178.6 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.8075, allocations: 6.906 kB / 0.955 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.8076, allocations: 2.656 kB / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.8077, allocations: 85 kB / 0.9551 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.8077, allocations: 0 / 0.9551 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.8078, allocations: 5.312 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8078, allocations: 0 / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.8078, allocations: 28.75 kB / 0.9552 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.8082, allocations: 0.5921 MB / 0.9557 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.8083, allocations: 182.7 kB / 0.9559 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.8083, allocations: 84.08 kB / 0.956 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.8083, allocations: 75.28 kB / 0.9561 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.8083, allocations: 107.2 kB / 0.9562 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.8083, allocations: 0 / 0.9562 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.204e-05/0.8084, allocations: 40.83 kB / 0.9562 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.8085, allocations: 126.7 kB / 0.9563 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.8086, allocations: 158.7 kB / 0.9565 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.8086, allocations: 26.86 kB / 0.9565 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.8087, allocations: 95 kB / 0.9566 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.8087, allocations: 1.438 kB / 0.9566 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.8087, allocations: 0 / 0.9566 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.8087, allocations: 320.3 kB / 0.9569 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-06/0.8087, allocations: 5.438 kB / 0.9569 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.8088, allocations: 1.375 kB / 0.9569 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/0.8088, allocations: 76.56 kB / 0.957 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.8088, allocations: 79.28 kB / 0.9571 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.443e-05/0.8089, allocations: 46.28 kB / 0.9571 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.8089, allocations: 80.62 kB / 0.9572 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.8089, allocations: 76.62 kB / 0.9573 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.696e-05/0.809, allocations: 154.6 kB / 0.9574 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.576e-05/0.809, allocations: 84.27 kB / 0.9575 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.652e-05/0.809, allocations: 157.1 kB / 0.9576 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.8092, allocations: 81.47 kB / 0.9577 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.8092, allocations: 76.28 kB / 0.9578 GB, free: 4.156 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 0.0001086/0.8093, allocations: 274.4 kB / 0.958 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.8094, allocations: 112.3 kB / 0.9582 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.8094, allocations: 124.6 kB / 0.9583 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/0.8094, allocations: 176.3 kB / 0.9584 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.374e-05/0.8095, allocations: 181.3 kB / 0.9586 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.049e-05/0.8095, allocations: 181.4 kB / 0.9588 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.8097, allocations: 425.6 kB / 0.9592 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/0.8097, allocations: 106.1 kB / 0.9593 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.8097, allocations: 102.7 kB / 0.9594 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.971e-05/0.8098, allocations: 184.2 kB / 0.9596 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.8098, allocations: 185.6 kB / 0.9597 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-05/0.8098, allocations: 189.6 kB / 0.9599 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.752e-05/0.8099, allocations: 181.4 kB / 0.9601 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/0.8099, allocations: 309.3 kB / 0.9604 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.81, allocations: 184.9 kB / 0.9606 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.81, allocations: 185.4 kB / 0.9607 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.8101, allocations: 106.2 kB / 0.9608 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.8102, allocations: 177.7 kB / 0.961 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.8102, allocations: 116.8 kB / 0.9611 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.134e-05/0.8103, allocations: 124.7 kB / 0.9612 GB, free: 460 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8103, allocations: 0 / 0.9612 GB, free: 460 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002382/0.8105, allocations: 3.688 kB / 0.9612 GB, free: 460 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.0004014/0.8109, allocations: 0.8088 MB / 0.962 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.354e-05/0.811, allocations: 3.938 kB / 0.962 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.811, allocations: 1.312 kB / 0.962 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.811, allocations: 0 / 0.962 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.8115, allocations: 0.5288 MB / 0.9626 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.8125, allocations: 0.7071 MB / 0.9633 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.8128, allocations: 0.6866 MB / 0.9639 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.8128, allocations: 8 kB / 0.9639 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.8129, allocations: 12.84 kB / 0.9639 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8129, allocations: 0 / 0.9639 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.8253, allocations: 1.336 MB / 0.9652 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.8255, allocations: 198.5 kB / 0.9654 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.509, allocations: 3.938 kB / 0.9654 GB, free: 12.93 MB / 0.7325 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