Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.563/2.563, 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.001472/0.001472, allocations: 183.7 kB / 0.4901 GB, free: 2.234 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.542/1.542, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001185/0.001185, allocations: 103 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003936, allocations: 11.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3264, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.237/0.5635, allocations: 150.4 MB / 1.376 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5638, allocations: 71.95 kB / 1.376 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.5764, allocations: 3.748 MB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.544e-06/0.5764, allocations: 0 / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.5764, allocations: 4 kB / 1.38 GB, free: 15.22 MB / 0.8855 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.0005748/0.577, allocations: 470.3 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5771, allocations: 8.562 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.5771, allocations: 38.56 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.5772, allocations: 27.77 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.5776, allocations: 238.8 kB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.5776, allocations: 12 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.5777, allocations: 16 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.5779, allocations: 133.8 kB / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5779, allocations: 0 / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.5779, allocations: 4 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.578, allocations: 4 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.578, allocations: 55.91 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.5788, allocations: 0.6962 MB / 1.382 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/0.5788, allocations: 45.16 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.5789, allocations: 0 / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.579, allocations: 101.1 kB / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.579, allocations: 0 / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0002419/0.5793, allocations: 105.5 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.5794, allocations: 81.09 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.5795, allocations: 186 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.5796, allocations: 33.7 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.5797, allocations: 116.2 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.5797, allocations: 19.81 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.5797, allocations: 4 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5799, allocations: 322.8 kB / 1.383 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.58, allocations: 59.91 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.5802, allocations: 122.8 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5803, allocations: 123.7 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5803, allocations: 0 / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004198/0.5808, allocations: 256.8 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.5808, allocations: 71.39 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5808, allocations: 3.938 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5809, allocations: 8.188 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.108e-05/0.5809, allocations: 7.938 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.5809, allocations: 4 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.5813, allocations: 75.84 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.5813, allocations: 15.98 kB / 1.383 GB, free: 11.46 MB / 0.8855 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.0001361/0.5815, allocations: 141.7 kB / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.5815, allocations: 11.91 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.5815, allocations: 16.92 kB / 1.383 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5815, allocations: 0 / 1.383 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.5816, allocations: 3.953 kB / 1.383 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5816, allocations: 8 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.5817, allocations: 201.6 kB / 1.384 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5818, allocations: 3.984 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.5818, allocations: 0 / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5818, allocations: 0 / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.5818, allocations: 4 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5818, allocations: 0 / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.5818, allocations: 0 / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.582, allocations: 139.4 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.582, allocations: 89.02 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.5821, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.5821, allocations: 8.047 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.5821, allocations: 7.953 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.5821, allocations: 4 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001257/0.5823, allocations: 140.1 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5823, allocations: 0 / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002687/0.5825, allocations: 47.98 kB / 1.384 GB, free: 10.55 MB / 0.8855 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.0005675/0.5831, allocations: 0.7467 MB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.5835, allocations: 242.7 kB / 1.385 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5835, allocations: 0 / 1.385 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.5836, allocations: 27.98 kB / 1.385 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.5838, allocations: 24.06 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.5848, allocations: 1.262 MB / 1.386 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.5852, allocations: 0.7199 MB / 1.387 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.477e-05/0.5852, allocations: 12.69 kB / 1.387 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.5853, allocations: 35.42 kB / 1.387 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5853, allocations: 0 / 1.387 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.6014, allocations: 3.673 MB / 1.391 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.6016, allocations: 200.1 kB / 1.391 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.289, allocations: 0 / 1.391 GB, free: 3.617 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat does not exist to compare? outputFormat=mat