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.508/2.508, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001166/0.001166, allocations: 189 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009384/0.0009384, allocations: 92.72 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 11.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.5082, allocations: 149.5 MB / 1.375 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5085, allocations: 71.95 kB / 1.375 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003192/0.5117, allocations: 0.9977 MB / 1.376 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5118, allocations: 0 / 1.376 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.5118, allocations: 4 kB / 1.376 GB, free: 2.863 MB / 0.8698 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.0003737/0.5122, allocations: 344.1 kB / 1.377 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.5122, allocations: 8.562 kB / 1.377 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.5123, allocations: 42.56 kB / 1.377 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.5124, allocations: 3.906 kB / 1.377 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.5126, allocations: 186.9 kB / 1.377 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5126, allocations: 4 kB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.5126, allocations: 4 kB / 1.377 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.5128, allocations: 76.23 kB / 1.377 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5128, allocations: 0 / 1.377 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5129, allocations: 4 kB / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5129, allocations: 4 kB / 1.377 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.5129, allocations: 27.92 kB / 1.377 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.5135, allocations: 0.6011 MB / 1.378 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.5136, allocations: 174.9 kB / 1.378 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.5136, allocations: 75.28 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.5136, allocations: 109.8 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.5137, allocations: 0 / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.786e-05/0.5137, allocations: 41.53 kB / 1.378 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.5138, allocations: 130.7 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.514, allocations: 147.3 kB / 1.378 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.514, allocations: 29.64 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.5141, allocations: 92.14 kB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.5141, allocations: 0 / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.5141, allocations: 0 / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5142, allocations: 322.8 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-06/0.5142, allocations: 0 / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.5142, allocations: 0 / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.5143, allocations: 83.31 kB / 1.379 GB, free: 160 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/0.5143, allocations: 75.28 kB / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.531e-05/0.5144, allocations: 37.55 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.246e-05/0.5144, allocations: 79.28 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/0.5145, allocations: 83.22 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.728e-05/0.5146, allocations: 162.4 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.797e-05/0.5146, allocations: 79.28 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.039e-05/0.5147, allocations: 162.6 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-05/0.5148, allocations: 83.22 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.5148, allocations: 75.28 kB / 1.38 GB, free: 15.32 MB / 0.8855 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.0001543/0.515, allocations: 268.4 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.515, allocations: 112.8 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.5151, allocations: 120.6 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.081e-05/0.5152, allocations: 180.2 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.266e-05/0.5153, allocations: 188.2 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.732e-05/0.5154, allocations: 176.3 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.5157, allocations: 417.1 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-05/0.5157, allocations: 105 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.5158, allocations: 109 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-05/0.5158, allocations: 184.2 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/0.5159, allocations: 176.3 kB / 1.381 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.838e-05/0.516, allocations: 180.2 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.421e-05/0.5161, allocations: 184.6 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.5163, allocations: 315.8 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.5165, allocations: 190 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.5166, allocations: 180.2 kB / 1.382 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.5167, allocations: 105 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.5168, allocations: 196.1 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.5168, allocations: 101 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.103e-05/0.5169, allocations: 124.4 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5169, allocations: 0 / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002778/0.5172, allocations: 4 kB / 1.383 GB, free: 11.57 MB / 0.8855 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.0004303/0.5177, allocations: 0.8133 MB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.491e-05/0.5177, allocations: 4 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5177, allocations: 0 / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.5177, allocations: 0 / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.5181, allocations: 0.5262 MB / 1.384 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008672/0.519, allocations: 0.6937 MB / 1.385 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.5193, allocations: 0.7043 MB / 1.386 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.5194, allocations: 8 kB / 1.386 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.5194, allocations: 11.44 kB / 1.386 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/0.5194, allocations: 0 / 1.386 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.5312, allocations: 1.348 MB / 1.387 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.5314, allocations: 204.9 kB / 1.387 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.113, allocations: 1 kB / 1.387 GB, free: 7.273 MB / 0.8855 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