Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.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.IntegerVectorFilter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.428/2.428, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001297/0.001297, allocations: 183.5 kB / 0.4901 GB, free: 2.223 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.562/1.562, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009682/0.0009684, allocations: 92.34 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003533, allocations: 10.44 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2712, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.4467, allocations: 149.5 MB / 1.375 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.447, allocations: 67.95 kB / 1.375 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002787/0.4498, allocations: 0.9937 MB / 1.376 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4498, allocations: 0 / 1.376 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4499, allocations: 0 / 1.376 GB, free: 2.973 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.0002906/0.4501, allocations: 343.2 kB / 1.377 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.4502, allocations: 16.56 kB / 1.377 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.4502, allocations: 30.56 kB / 1.377 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.4503, allocations: 7.906 kB / 1.377 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.4505, allocations: 186.9 kB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4505, allocations: 4 kB / 1.377 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4505, allocations: 0 / 1.377 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4506, allocations: 76.25 kB / 1.377 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4507, allocations: 0 / 1.377 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.4507, allocations: 8 kB / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4507, allocations: 0 / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.4507, allocations: 31.91 kB / 1.377 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.4513, allocations: 0.6089 MB / 1.378 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.686e-05/0.4514, allocations: 165.1 kB / 1.378 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.4514, allocations: 83.22 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.4515, allocations: 119.5 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.4515, allocations: 0 / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.357e-05/0.4515, allocations: 33.61 kB / 1.378 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.4516, allocations: 130.7 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.4517, allocations: 142.4 kB / 1.378 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.4518, allocations: 25.7 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.4518, allocations: 100.1 kB / 1.378 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.4518, allocations: 0 / 1.378 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.4518, allocations: 0 / 1.378 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4519, allocations: 310.8 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-06/0.452, allocations: 0 / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.452, allocations: 15.98 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.452, allocations: 75.28 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/0.452, allocations: 79.22 kB / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.546e-05/0.4521, allocations: 33.61 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.4522, allocations: 83.28 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.262e-05/0.4522, allocations: 79.23 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.012e-05/0.4523, allocations: 154.5 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.466e-05/0.4523, allocations: 79.31 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.873e-05/0.4524, allocations: 166.5 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.177e-05/0.4525, allocations: 75.28 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.4525, allocations: 87.22 kB / 1.38 GB, free: 15.43 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.0001299/0.4527, allocations: 269.4 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.4527, allocations: 120.8 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.4528, allocations: 112.6 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/0.4529, allocations: 184.2 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.554e-05/0.4529, allocations: 180.2 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.399e-05/0.453, allocations: 180.3 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.4532, allocations: 421.1 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/0.4533, allocations: 105 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.4533, allocations: 104.9 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-05/0.4534, allocations: 176.3 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.4535, allocations: 184.3 kB / 1.381 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.155e-05/0.4535, allocations: 188.2 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.664e-05/0.4536, allocations: 184.6 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.4538, allocations: 311.8 kB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.4539, allocations: 194 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.4539, allocations: 184.2 kB / 1.382 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.454, allocations: 101 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.4541, allocations: 188.2 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.4541, allocations: 105 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.997e-05/0.4542, allocations: 125.4 kB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4543, allocations: 0 / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002467/0.4545, allocations: 8 kB / 1.383 GB, free: 11.66 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.000445/0.455, allocations: 0.8094 MB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.167e-05/0.455, allocations: 7.984 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.455, allocations: 0 / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.455, allocations: 0 / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.4553, allocations: 0.5263 MB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.4562, allocations: 0.6858 MB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.4564, allocations: 0.6965 MB / 1.386 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.584e-05/0.4565, allocations: 0 / 1.386 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.4565, allocations: 19.42 kB / 1.386 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.4565, allocations: 0 / 1.386 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.4684, allocations: 1.334 MB / 1.387 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.4686, allocations: 200.7 kB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.997, allocations: 2.531 kB / 1.387 GB, free: 7.41 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorFilter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorFilter_res.mat does not exist to compare? outputFormat=mat