Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001069/0.001069, allocations: 179.3 kB / 498.1 MB, free: 5.746 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.514/1.514, allocations: 223.1 MB / 0.7948 GB, free: 18.87 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.0008887/0.0008887, allocations: 106.2 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 10.66 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.4856, allocations: 148.7 MB / 1.368 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.4859, allocations: 59.97 kB / 1.368 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002703/0.4886, allocations: 0.9908 MB / 1.369 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4886, allocations: 0 / 1.369 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.4886, allocations: 4 kB / 1.369 GB, free: 3.52 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.0002737/0.4889, allocations: 347.2 kB / 1.37 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.489, allocations: 12.03 kB / 1.37 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.489, allocations: 34.56 kB / 1.37 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.489, allocations: 7.984 kB / 1.37 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.4892, allocations: 190.9 kB / 1.37 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4893, allocations: 0 / 1.37 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.4893, allocations: 4 kB / 1.37 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4894, allocations: 76.25 kB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4894, allocations: 0 / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4894, allocations: 4 kB / 1.37 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4895, allocations: 0 / 1.37 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.4895, allocations: 23.92 kB / 1.37 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.49, allocations: 0.6051 MB / 1.37 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.149e-05/0.4901, allocations: 169.1 kB / 1.371 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4901, allocations: 79.27 kB / 1.371 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.4902, allocations: 113.7 kB / 1.371 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4902, allocations: 0 / 1.371 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.808e-05/0.4903, allocations: 41.59 kB / 1.371 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4903, allocations: 126.7 kB / 1.371 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4905, allocations: 146.9 kB / 1.371 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.4905, allocations: 25.7 kB / 1.371 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.4905, allocations: 92.14 kB / 1.371 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.4906, allocations: 0 / 1.371 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-07/0.4906, allocations: 0 / 1.371 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.4907, allocations: 322.8 kB / 1.372 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.4907, allocations: 0 / 1.372 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.066e-05/0.4907, allocations: 4 kB / 1.372 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.4907, allocations: 75.28 kB / 1.372 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.4908, allocations: 87.19 kB / 1.372 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.795e-05/0.4908, allocations: 33.61 kB / 1.372 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4909, allocations: 85.14 kB / 1.372 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.4909, allocations: 87.36 kB / 1.372 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/0.491, allocations: 158.5 kB / 1.372 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.491, allocations: 75.28 kB / 1.372 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.263e-05/0.491, allocations: 158.5 kB / 1.372 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.4911, allocations: 83.22 kB / 1.372 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.4912, allocations: 79.27 kB / 1.372 GB, free: 15.98 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.0001066/0.4913, allocations: 268.4 kB / 1.373 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.4913, allocations: 108.9 kB / 1.373 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.4914, allocations: 120.6 kB / 1.373 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.947e-05/0.4914, allocations: 188.2 kB / 1.373 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.673e-05/0.4915, allocations: 180.3 kB / 1.373 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/0.4915, allocations: 176.3 kB / 1.373 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.4917, allocations: 421.1 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.4918, allocations: 101 kB / 1.374 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.4918, allocations: 112.9 kB / 1.374 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.225e-05/0.4918, allocations: 184.2 kB / 1.374 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.4919, allocations: 176.3 kB / 1.374 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.455e-05/0.4919, allocations: 180.2 kB / 1.375 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.274e-05/0.492, allocations: 192.6 kB / 1.375 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.4921, allocations: 311.7 kB / 1.375 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.4922, allocations: 194 kB / 1.375 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.4923, allocations: 180.2 kB / 1.375 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.4923, allocations: 101 kB / 1.375 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.4924, allocations: 192.1 kB / 1.376 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.4924, allocations: 105 kB / 1.376 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.49e-05/0.4925, allocations: 119.2 kB / 1.376 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4925, allocations: 0 / 1.376 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002304/0.4928, allocations: 4 kB / 1.376 GB, free: 12.22 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.0003486/0.4931, allocations: 0.8162 MB / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 4.699e-05/0.4932, allocations: 4 kB / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4932, allocations: 0 / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.4932, allocations: 0 / 1.377 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4935, allocations: 0.5279 MB / 1.377 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/0.4942, allocations: 0.6915 MB / 1.378 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.4945, allocations: 0.6926 MB / 1.379 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.4945, allocations: 4 kB / 1.379 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.4945, allocations: 19.44 kB / 1.379 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.4945, allocations: 0 / 1.379 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.5064, allocations: 1.346 MB / 1.38 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.5066, allocations: 193.9 kB / 1.38 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.033, allocations: 2.25 kB / 1.38 GB, free: 7.918 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorFilter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter_res.mat does not exist to compare? outputFormat=mat