Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.0009275/0.0009321, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001208/0.001208, allocations: 168.7 kB / 15.95 MB, free: 204 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.429/1.429, allocations: 223.2 MB / 240 MB, free: 5.297 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.37/2.37, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 11.98 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.765, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0009332/0.766, allocations: 436.6 kB / 0.9543 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.7677, allocations: 1.212 MB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.7678, allocations: 0.9688 kB / 0.9555 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.7679, allocations: 9 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.768, allocations: 14.5 kB / 0.9555 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.7687, allocations: 219.8 kB / 0.9557 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.769, allocations: 192.2 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.7692, allocations: 26.89 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.7694, allocations: 100.5 kB / 0.956 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.7696, allocations: 89.06 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.7697, allocations: 9.312 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.7698, allocations: 27.42 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.7698, allocations: 24.52 kB / 0.9561 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.7699, allocations: 46.83 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.7702, allocations: 157.9 kB / 0.9563 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7702, allocations: 0 / 0.9563 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.176e-06/0.7702, allocations: 1.094 kB / 0.9563 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.7702, allocations: 4 kB / 0.9563 GB, free: 6.219 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004911/0.7707, allocations: 457.1 kB / 0.9568 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.7708, allocations: 8.281 kB / 0.9568 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.7708, allocations: 46.66 kB / 0.9568 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.7709, allocations: 23.22 kB / 0.9569 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.7714, allocations: 261.3 kB / 0.9571 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.7715, allocations: 10.38 kB / 0.9571 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.7715, allocations: 12.59 kB / 0.9571 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.7717, allocations: 126.2 kB / 0.9572 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7717, allocations: 0 / 0.9572 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.7718, allocations: 5.281 kB / 0.9572 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7718, allocations: 10.67 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.7719, allocations: 48.91 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.7724, allocations: 0.6655 MB / 0.958 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.262e-05/0.7725, allocations: 43.89 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.7725, allocations: 25.08 kB / 0.958 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.7725, allocations: 0 / 0.958 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.7727, allocations: 89.78 kB / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.7727, allocations: 0 / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002254/0.7729, allocations: 103.2 kB / 0.9582 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.773, allocations: 83.91 kB / 0.9583 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.7731, allocations: 163.7 kB / 0.9584 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.7731, allocations: 33.52 kB / 0.9585 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.7732, allocations: 119 kB / 0.9586 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.7732, allocations: 18.17 kB / 0.9586 GB, free: 4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.7732, allocations: 7.625 kB / 0.9586 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.7733, allocations: 322.1 kB / 0.9589 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.7734, allocations: 54.94 kB / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.7735, allocations: 107.5 kB / 0.9591 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.7737, allocations: 109.6 kB / 0.9592 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7737, allocations: 0 / 0.9592 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003817/0.7741, allocations: 263.5 kB / 0.9594 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.7741, allocations: 76.17 kB / 0.9595 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7742, allocations: 5.688 kB / 0.9595 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.7742, allocations: 3.062 kB / 0.9595 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/0.7742, allocations: 6.891 kB / 0.9595 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7742, allocations: 6.688 kB / 0.9595 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.7746, allocations: 82.19 kB / 0.9596 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.7746, allocations: 12.81 kB / 0.9596 GB, free: 3.16 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001052/0.7747, allocations: 135.7 kB / 0.9597 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.7747, allocations: 16.28 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.7748, allocations: 12.66 kB / 0.9598 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7748, allocations: 5.812 kB / 0.9598 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7748, allocations: 0 / 0.9598 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7748, allocations: 0 / 0.9598 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.7749, allocations: 200.8 kB / 0.96 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7749, allocations: 0 / 0.96 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-06/0.775, allocations: 5.688 kB / 0.96 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.775, allocations: 3.953 kB / 0.96 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.775, allocations: 5.828 kB / 0.96 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.775, allocations: 1.781 kB / 0.96 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.775, allocations: 0 / 0.96 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.7751, allocations: 110.9 kB / 0.9601 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.7752, allocations: 91.66 kB / 0.9602 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.7752, allocations: 6.703 kB / 0.9602 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.7752, allocations: 0 / 0.9602 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.7753, allocations: 6.734 kB / 0.9602 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.7753, allocations: 6.75 kB / 0.9602 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.704e-05/0.7753, allocations: 117.8 kB / 0.9603 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.72e-07/0.7753, allocations: 4 kB / 0.9603 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002654/0.7756, allocations: 42.12 kB / 0.9604 GB, free: 2.457 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003138/0.7759, allocations: 0.658 MB / 0.961 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.7762, allocations: 236.8 kB / 0.9612 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7762, allocations: 0 / 0.9612 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.052e-05/0.7763, allocations: 25.72 kB / 0.9612 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.7765, allocations: 28.55 kB / 0.9613 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.7778, allocations: 0.8836 MB / 0.9621 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.778, allocations: 0.7123 MB / 0.9628 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.7781, allocations: 12.27 kB / 0.9628 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.7781, allocations: 45.45 kB / 0.9629 GB, free: 168 kB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7781, allocations: 0 / 0.9629 GB, free: 168 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.793, allocations: 3.126 MB / 0.9659 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.7933, allocations: 209.6 kB / 0.9661 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.499, allocations: 1.031 kB / 0.9661 GB, free: 14.45 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat does not exist to compare? outputFormat=mat