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.001048/0.001048, allocations: 103 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.001192/0.001192, allocations: 173.3 kB / 15.95 MB, free: 212 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.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004215, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7585, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter): time 0.0006284/0.7592, allocations: 366.4 kB / 0.9539 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002642/0.7595, allocations: 110.9 kB / 0.9541 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.7595, allocations: 0 / 0.9541 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.787e-05/0.7596, allocations: 0 / 0.9541 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.7598, allocations: 30.36 kB / 0.9541 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.855e-05/0.7599, allocations: 9.172 kB / 0.9541 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.76, allocations: 15.58 kB / 0.9541 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7601, allocations: 14.08 kB / 0.9541 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.7602, allocations: 48.98 kB / 0.9542 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.7602, allocations: 10.91 kB / 0.9542 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.7603, allocations: 5.344 kB / 0.9542 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.7603, allocations: 1.406 kB / 0.9542 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.7603, allocations: 13.22 kB / 0.9542 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.7603, allocations: 36.2 kB / 0.9542 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.836e-05/0.7604, allocations: 26.97 kB / 0.9543 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.7604, allocations: 0 / 0.9543 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7604, allocations: 0 / 0.9543 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7604, allocations: 0 / 0.9543 GB, free: 7.645 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.0002216/0.7607, allocations: 348.4 kB / 0.9546 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7607, allocations: 13.12 kB / 0.9546 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.7607, allocations: 44.55 kB / 0.9546 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.7608, allocations: 6.672 kB / 0.9547 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.7609, allocations: 179.5 kB / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.7609, allocations: 1.656 kB / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.7609, allocations: 3.906 kB / 0.9548 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.7611, allocations: 80.72 kB / 0.9549 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.7611, allocations: 0 / 0.9549 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.7611, allocations: 5.562 kB / 0.9549 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7611, allocations: 0 / 0.9549 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.7612, allocations: 29.78 kB / 0.9549 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.7615, allocations: 0.5985 MB / 0.9555 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.7615, allocations: 174.2 kB / 0.9557 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.7615, allocations: 75.28 kB / 0.9558 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.7616, allocations: 111 kB / 0.9559 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7616, allocations: 0 / 0.9559 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.951e-05/0.7616, allocations: 37.42 kB / 0.9559 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.7617, allocations: 126.7 kB / 0.956 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.7618, allocations: 158.2 kB / 0.9562 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.7618, allocations: 26.77 kB / 0.9562 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.7619, allocations: 103.2 kB / 0.9563 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-06/0.7619, allocations: 1.125 kB / 0.9563 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.7619, allocations: 0 / 0.9563 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.7619, allocations: 312.9 kB / 0.9566 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-06/0.7619, allocations: 0 / 0.9566 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.971e-05/0.7619, allocations: 10.11 kB / 0.9566 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.61e-05/0.762, allocations: 76.25 kB / 0.9567 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.762, allocations: 80.19 kB / 0.9568 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.869e-05/0.762, allocations: 41.75 kB / 0.9568 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.7621, allocations: 84.53 kB / 0.9569 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.7621, allocations: 76.34 kB / 0.9569 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.7621, allocations: 156.1 kB / 0.9571 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-06/0.7621, allocations: 79.22 kB / 0.9572 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.7621, allocations: 161.2 kB / 0.9573 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.7623, allocations: 85.97 kB / 0.9574 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.7623, allocations: 75.28 kB / 0.9575 GB, free: 4.254 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.276e-05/0.7623, allocations: 267.4 kB / 0.9577 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.7624, allocations: 115.5 kB / 0.9578 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.7624, allocations: 116.2 kB / 0.958 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.7624, allocations: 185.4 kB / 0.9581 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.433e-05/0.7625, allocations: 181.4 kB / 0.9583 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.7625, allocations: 181.5 kB / 0.9585 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.7626, allocations: 414 kB / 0.9589 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.7627, allocations: 104.9 kB / 0.959 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.7627, allocations: 106.2 kB / 0.9591 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.282e-05/0.7627, allocations: 185.7 kB / 0.9593 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.7627, allocations: 185.3 kB / 0.9594 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-05/0.7628, allocations: 181.4 kB / 0.9596 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.79e-05/0.7628, allocations: 189.7 kB / 0.9598 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.971e-05/0.7629, allocations: 313.5 kB / 0.9601 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.7629, allocations: 184.7 kB / 0.9603 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.7629, allocations: 177.3 kB / 0.9604 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.763, allocations: 114.4 kB / 0.9605 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.763, allocations: 176.3 kB / 0.9607 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.7631, allocations: 114.3 kB / 0.9608 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.7631, allocations: 128.9 kB / 0.9609 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7631, allocations: 0 / 0.9609 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002463/0.7634, allocations: 3.594 kB / 0.9609 GB, free: 0.5547 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.0002479/0.7636, allocations: 0.8032 MB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.613e-05/0.7637, allocations: 8.938 kB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7637, allocations: 4.906 kB / 0.9617 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.7637, allocations: 0 / 0.9617 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.764, allocations: 0.5205 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.0007626/0.7648, allocations: 0.6964 MB / 0.9629 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.765, allocations: 0.6902 MB / 0.9636 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.812e-05/0.765, allocations: 11.05 kB / 0.9636 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.7651, allocations: 21.31 kB / 0.9636 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7651, allocations: 0 / 0.9636 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009954/0.775, allocations: 1.336 MB / 0.9649 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.7752, allocations: 192.1 kB / 0.9651 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.426, allocations: 0 / 0.9651 GB, free: 13.03 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