Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.216/2.216, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001263/0.001263, allocations: 184.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0008424/0.0008425, allocations: 87.95 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.262e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2758, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9406/1.217, allocations: 150.7 MB / 1.366 GB, free: 3.383 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.217, allocations: 72.08 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01448/1.231, allocations: 4.874 MB / 1.371 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.366e-06/1.231, allocations: 0 / 1.371 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.101e-05/1.231, allocations: 11.94 kB / 1.371 GB, free: 15.1 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008404/1.232, allocations: 0.5566 MB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.232, allocations: 12.03 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.825e-05/1.232, allocations: 45.23 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/1.232, allocations: 27.72 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/1.233, allocations: 285.4 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.233, allocations: 15.3 kB / 1.372 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/1.233, allocations: 23.81 kB / 1.372 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/1.233, allocations: 176.8 kB / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.233, allocations: 4 kB / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/1.233, allocations: 6.5 kB / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.233, allocations: 4 kB / 1.372 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/1.234, allocations: 95.34 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/1.235, allocations: 0.9886 MB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/1.235, allocations: 127.7 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/1.235, allocations: 62.48 kB / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/1.235, allocations: 0 / 1.373 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/1.235, allocations: 150 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/1.235, allocations: 0 / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000312/1.236, allocations: 150.1 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/1.236, allocations: 162.2 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/1.236, allocations: 200 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/1.236, allocations: 33.8 kB / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.236, allocations: 154.7 kB / 1.374 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/1.236, allocations: 30.17 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/1.236, allocations: 7.875 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.236, allocations: 329.5 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/1.236, allocations: 83.86 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/1.237, allocations: 178.1 kB / 1.375 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/1.237, allocations: 145.8 kB / 1.375 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.237, allocations: 0 / 1.375 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005101/1.237, allocations: 331.9 kB / 1.375 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.9e-05/1.237, allocations: 70.2 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.237, allocations: 4 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.237, allocations: 4 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/1.238, allocations: 40.12 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.238, allocations: 4 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/1.238, allocations: 111.2 kB / 1.375 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/1.238, allocations: 8 kB / 1.375 GB, free: 10.69 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001061/1.238, allocations: 134.1 kB / 1.375 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/1.238, allocations: 23.66 kB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/1.238, allocations: 23.36 kB / 1.375 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.238, allocations: 0 / 1.375 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.238, allocations: 4 kB / 1.375 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.238, allocations: 0 / 1.375 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/1.239, allocations: 265.6 kB / 1.376 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.239, allocations: 3.938 kB / 1.376 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/1.239, allocations: 35.97 kB / 1.376 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.239, allocations: 4 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/1.239, allocations: 3.984 kB / 1.376 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.239, allocations: 4 kB / 1.376 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.239, allocations: 0 / 1.376 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/1.239, allocations: 234.8 kB / 1.376 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/1.239, allocations: 108.8 kB / 1.376 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/1.239, allocations: 3.938 kB / 1.376 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/1.239, allocations: 35.41 kB / 1.376 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/1.24, allocations: 11.42 kB / 1.376 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/1.24, allocations: 7.984 kB / 1.376 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001269/1.24, allocations: 162.5 kB / 1.376 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.24, allocations: 0 / 1.376 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002894/1.24, allocations: 62.81 kB / 1.376 GB, free: 9.562 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0006697/1.241, allocations: 1.066 MB / 1.377 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004038/1.241, allocations: 298 kB / 1.378 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.241, allocations: 3.938 kB / 1.378 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/1.241, allocations: 56.5 kB / 1.378 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/1.242, allocations: 45.2 kB / 1.378 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/1.242, allocations: 343.5 kB / 1.378 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/1.243, allocations: 0.7472 MB / 1.379 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.531e-05/1.243, allocations: 33.17 kB / 1.379 GB, free: 7.004 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/1.243, allocations: 65.73 kB / 1.379 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.243, allocations: 0 / 1.379 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/1.259, allocations: 5.212 MB / 1.384 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/1.259, allocations: 169 kB / 1.384 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/3.031, allocations: 1.562 kB / 1.384 GB, free: 1.758 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat does not exist to compare? outputFormat=mat