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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.00128/0.00128, allocations: 179.3 kB / 498.1 MB, free: 5.734 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.492/1.492, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.0008509/0.0008508, allocations: 97.05 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004988/0.0004986, allocations: 10.72 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.314, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.503, allocations: 149.6 MB / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.5033, allocations: 75.95 kB / 1.369 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.5145, allocations: 3.751 MB / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5146, allocations: 0 / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.5146, allocations: 8 kB / 1.373 GB, free: 8.461 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005778/0.5152, allocations: 466.3 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5152, allocations: 12.03 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.894e-05/0.5153, allocations: 46.55 kB / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.192e-05/0.5154, allocations: 15.86 kB / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.5158, allocations: 232.8 kB / 1.374 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.5159, allocations: 12 kB / 1.374 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.5159, allocations: 19.98 kB / 1.374 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.5162, allocations: 131.3 kB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5162, allocations: 0 / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.5162, allocations: 4 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.5162, allocations: 4 kB / 1.374 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.93e-05/0.5163, allocations: 47.91 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.5171, allocations: 0.7078 MB / 1.374 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.032e-05/0.5172, allocations: 53.95 kB / 1.375 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.5172, allocations: 4.125 kB / 1.375 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.5174, allocations: 85.09 kB / 1.375 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 3.456e-06/0.5174, allocations: 3.984 kB / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0002861/0.5177, allocations: 113.4 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5177, allocations: 85.11 kB / 1.375 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5179, allocations: 178.1 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.518, allocations: 29.7 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.5181, allocations: 124.2 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.5181, allocations: 11.81 kB / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.5181, allocations: 4 kB / 1.375 GB, free: 5.836 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5183, allocations: 330.8 kB / 1.375 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.5184, allocations: 59.95 kB / 1.375 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.5186, allocations: 122.8 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.5187, allocations: 115.4 kB / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5187, allocations: 0 / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004232/0.5192, allocations: 268.7 kB / 1.376 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.5192, allocations: 67.39 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5193, allocations: 4 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5193, allocations: 0 / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-05/0.5193, allocations: 11.89 kB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5193, allocations: 0 / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.5197, allocations: 80.11 kB / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.5198, allocations: 16 kB / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001375/0.5199, allocations: 141.8 kB / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.5199, allocations: 7.906 kB / 1.376 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.52, allocations: 12.94 kB / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.52, allocations: 4 kB / 1.376 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.52, allocations: 3.953 kB / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.52, allocations: 0 / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.5202, allocations: 205.6 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5202, allocations: 3.938 kB / 1.377 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.5202, allocations: 4 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5202, allocations: 0 / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5202, allocations: 8 kB / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.5203, allocations: 4 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5203, allocations: 0 / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.5204, allocations: 131.5 kB / 1.377 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.5205, allocations: 88.91 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.5205, allocations: 4 kB / 1.377 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.526e-05/0.5206, allocations: 4 kB / 1.377 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.5206, allocations: 15.88 kB / 1.377 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.5206, allocations: 8.312 kB / 1.377 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001228/0.5208, allocations: 140.1 kB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5208, allocations: 3.938 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002896/0.5211, allocations: 47.94 kB / 1.377 GB, free: 3.781 MB / 0.8698 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.000573/0.5216, allocations: 0.7421 MB / 1.378 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.522, allocations: 246.7 kB / 1.378 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.522, allocations: 0 / 1.378 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.5221, allocations: 19.94 kB / 1.378 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.5223, allocations: 30.58 kB / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5235, allocations: 1.269 MB / 1.379 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.5238, allocations: 0.7199 MB / 1.38 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.5238, allocations: 12.55 kB / 1.38 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.5239, allocations: 39.42 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/0.5239, allocations: 0 / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.5402, allocations: 3.657 MB / 1.384 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.5405, allocations: 192.2 kB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.147, allocations: 0 / 1.384 GB, free: 12.84 MB / 0.8855 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