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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.86 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.001374/0.001374, 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.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.401/2.401, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7653/0.7657, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorFilter): time 0.0008628/0.7666, allocations: 329.6 kB / 0.9539 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003354/0.7669, allocations: 113 kB / 0.954 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.767, allocations: 0 / 0.954 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.51e-05/0.7671, allocations: 1.219 kB / 0.954 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.7674, allocations: 28.55 kB / 0.9541 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.938e-05/0.7675, allocations: 10.08 kB / 0.9541 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.7675, allocations: 18.06 kB / 0.9541 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.7677, allocations: 15.56 kB / 0.9541 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.7678, allocations: 44.27 kB / 0.9541 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.7678, allocations: 15.45 kB / 0.9542 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.7679, allocations: 5.406 kB / 0.9542 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-06/0.7679, allocations: 1.312 kB / 0.9542 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.7679, allocations: 9.359 kB / 0.9542 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.7679, allocations: 36.3 kB / 0.9542 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.155e-05/0.768, allocations: 31.56 kB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.768, allocations: 0 / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.265e-06/0.768, allocations: 0 / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.7681, allocations: 0 / 0.9542 GB, free: 7.586 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.0003144/0.7684, allocations: 344.4 kB / 0.9546 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.7684, allocations: 9.438 kB / 0.9546 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.7685, allocations: 43.89 kB / 0.9546 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.7685, allocations: 5.891 kB / 0.9546 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7687, allocations: 179.8 kB / 0.9548 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.7687, allocations: 2.75 kB / 0.9548 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.7687, allocations: 6.688 kB / 0.9548 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.7689, allocations: 76.56 kB / 0.9549 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7689, allocations: 0 / 0.9549 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.7689, allocations: 5.094 kB / 0.9549 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.7689, allocations: 5.188 kB / 0.9549 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.047e-05/0.769, allocations: 29.12 kB / 0.9549 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.7694, allocations: 0.5981 MB / 0.9555 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.7694, allocations: 178.5 kB / 0.9557 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.7694, allocations: 75.28 kB / 0.9557 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.7695, allocations: 107.2 kB / 0.9558 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7695, allocations: 0 / 0.9558 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.294e-05/0.7696, allocations: 41.83 kB / 0.9559 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7696, allocations: 126.7 kB / 0.956 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.7697, allocations: 158.8 kB / 0.9562 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.7698, allocations: 25.7 kB / 0.9562 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.7698, allocations: 95.66 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.7698, allocations: 0 / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.7698, allocations: 1.156 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7699, allocations: 317.2 kB / 0.9566 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-06/0.7699, allocations: 0 / 0.9566 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.77, allocations: 6.422 kB / 0.9566 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.77, allocations: 75.28 kB / 0.9566 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.77, allocations: 80.56 kB / 0.9567 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.979e-05/0.7701, allocations: 42.19 kB / 0.9568 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.7701, allocations: 80.5 kB / 0.9568 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.7702, allocations: 79.31 kB / 0.9569 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-05/0.7702, allocations: 155.6 kB / 0.9571 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.7702, allocations: 85.8 kB / 0.9571 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.713e-05/0.7703, allocations: 164 kB / 0.9573 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.7704, allocations: 80.59 kB / 0.9574 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.7704, allocations: 76.69 kB / 0.9575 GB, free: 4.199 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.864e-05/0.7705, allocations: 270.1 kB / 0.9577 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.7706, allocations: 112.3 kB / 0.9578 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.7706, allocations: 116.4 kB / 0.9579 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/0.7706, allocations: 185.3 kB / 0.9581 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-05/0.7707, allocations: 185.4 kB / 0.9583 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-05/0.7707, allocations: 177.5 kB / 0.9585 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.7709, allocations: 417.3 kB / 0.9589 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.7709, allocations: 106 kB / 0.959 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.7709, allocations: 110.3 kB / 0.9591 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.202e-05/0.771, allocations: 181.7 kB / 0.9592 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.771, allocations: 180.2 kB / 0.9594 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.522e-05/0.7711, allocations: 189.5 kB / 0.9596 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.421e-05/0.7711, allocations: 181.5 kB / 0.9598 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.315e-05/0.7712, allocations: 317.4 kB / 0.9601 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.7712, allocations: 185.9 kB / 0.9602 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.7713, allocations: 181.7 kB / 0.9604 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.7713, allocations: 104.9 kB / 0.9605 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.7714, allocations: 181.7 kB / 0.9607 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.7714, allocations: 110.4 kB / 0.9608 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.834e-05/0.7715, allocations: 128.4 kB / 0.9609 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7715, allocations: 0 / 0.9609 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002655/0.7718, allocations: 3.688 kB / 0.9609 GB, free: 0.5 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.000387/0.7722, allocations: 0.8074 MB / 0.9617 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.307e-05/0.7722, allocations: 4.781 kB / 0.9617 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7722, allocations: 0 / 0.9617 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.7722, allocations: 1.062 kB / 0.9617 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.7726, allocations: 0.5245 MB / 0.9622 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.7736, allocations: 0.6849 MB / 0.9629 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.7739, allocations: 0.6884 MB / 0.9636 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.774, allocations: 11.02 kB / 0.9636 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.774, allocations: 17.38 kB / 0.9636 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.774, allocations: 0 / 0.9636 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.7859, allocations: 1.351 MB / 0.9649 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.7862, allocations: 196.5 kB / 0.9651 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.364, allocations: 2.391 kB / 0.9651 GB, free: 12.98 MB / 0.7325 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