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.0008932/0.0008932, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009329/0.0009329, allocations: 177.3 kB / 15.95 MB, free: 216 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.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.475/2.475, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 11.98 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8177, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter): time 0.0008143/0.8185, allocations: 326.1 kB / 0.9539 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.8189, allocations: 106.3 kB / 0.954 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.819, allocations: 0 / 0.954 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.798e-05/0.8191, allocations: 5.031 kB / 0.954 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.8194, allocations: 25.11 kB / 0.954 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.006e-05/0.8195, allocations: 1.625 kB / 0.954 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.8195, allocations: 23.59 kB / 0.9541 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.8197, allocations: 17.36 kB / 0.9541 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.8198, allocations: 45.06 kB / 0.9541 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.8199, allocations: 11.55 kB / 0.9541 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.8199, allocations: 1.156 kB / 0.9541 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.8199, allocations: 1.438 kB / 0.9541 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.739e-05/0.8199, allocations: 17.34 kB / 0.9542 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.82, allocations: 35.92 kB / 0.9542 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.688e-05/0.82, allocations: 31.28 kB / 0.9542 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.82, allocations: 0 / 0.9542 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.82, allocations: 0 / 0.9542 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.82, allocations: 0 / 0.9542 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.0002673/0.8203, allocations: 348 kB / 0.9546 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.8204, allocations: 9.344 kB / 0.9546 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.8204, allocations: 36.03 kB / 0.9546 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.8205, allocations: 6.891 kB / 0.9546 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.8206, allocations: 184.5 kB / 0.9548 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.8206, allocations: 5.219 kB / 0.9548 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.8207, allocations: 6.719 kB / 0.9548 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.8208, allocations: 77.78 kB / 0.9549 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.8208, allocations: 0 / 0.9549 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8208, allocations: 4 kB / 0.9549 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8208, allocations: 1.719 kB / 0.9549 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/0.8209, allocations: 28.19 kB / 0.9549 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.8213, allocations: 0.5994 MB / 0.9555 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.277e-05/0.8214, allocations: 174.3 kB / 0.9557 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.8214, allocations: 75.28 kB / 0.9557 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.8214, allocations: 115.2 kB / 0.9558 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/0.8214, allocations: 0 / 0.9558 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.092e-05/0.8215, allocations: 37.11 kB / 0.9559 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.8216, allocations: 130.7 kB / 0.956 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.8217, allocations: 156.5 kB / 0.9561 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.8217, allocations: 25.7 kB / 0.9562 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.8218, allocations: 96.5 kB / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.8218, allocations: 0 / 0.9563 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-07/0.8218, allocations: 4 kB / 0.9563 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.8218, allocations: 317.2 kB / 0.9566 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.8218, allocations: 0 / 0.9566 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.8219, allocations: 2.469 kB / 0.9566 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.8219, allocations: 76.22 kB / 0.9566 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.8219, allocations: 79.28 kB / 0.9567 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.533e-05/0.822, allocations: 42.36 kB / 0.9568 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.822, allocations: 85.22 kB / 0.9568 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.822, allocations: 79.31 kB / 0.9569 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.8221, allocations: 155.8 kB / 0.9571 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-05/0.8221, allocations: 80.38 kB / 0.9571 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.8221, allocations: 153.1 kB / 0.9573 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.8222, allocations: 80.62 kB / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.8223, allocations: 84.33 kB / 0.9574 GB, free: 4.25 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 7.844e-05/0.8223, allocations: 270.9 kB / 0.9577 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.8224, allocations: 120.1 kB / 0.9578 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.8224, allocations: 120.5 kB / 0.9579 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.8225, allocations: 176.3 kB / 0.9581 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/0.8225, allocations: 181.6 kB / 0.9583 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/0.8225, allocations: 185.3 kB / 0.9584 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.8227, allocations: 413.8 kB / 0.9588 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/0.8227, allocations: 110.1 kB / 0.9589 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.8228, allocations: 102 kB / 0.959 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.917e-05/0.8228, allocations: 182 kB / 0.9592 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.8228, allocations: 180.2 kB / 0.9594 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.793e-05/0.8229, allocations: 185.7 kB / 0.9596 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.924e-05/0.8229, allocations: 189.7 kB / 0.9597 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.442e-05/0.823, allocations: 312.2 kB / 0.96 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.823, allocations: 181.6 kB / 0.9602 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.8231, allocations: 189.7 kB / 0.9604 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.8231, allocations: 110.4 kB / 0.9605 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.8232, allocations: 177.7 kB / 0.9607 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.8232, allocations: 104.9 kB / 0.9608 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.378e-05/0.8233, allocations: 128.5 kB / 0.9609 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8233, allocations: 0 / 0.9609 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002721/0.8235, allocations: 3.25 kB / 0.9609 GB, free: 0.5508 MB / 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.0003088/0.8239, allocations: 0.8048 MB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.319e-05/0.8239, allocations: 5.25 kB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8239, allocations: 0 / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.8239, allocations: 0 / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.8242, allocations: 0.5285 MB / 0.9622 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/0.8251, allocations: 0.6893 MB / 0.9629 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.8254, allocations: 0.6926 MB / 0.9636 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.8254, allocations: 6.656 kB / 0.9636 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.8255, allocations: 18.14 kB / 0.9636 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8255, allocations: 0 / 0.9636 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.8373, allocations: 1.327 MB / 0.9649 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.8375, allocations: 195.2 kB / 0.9651 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.404, allocations: 0 / 0.9651 GB, free: 13.04 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