Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.489/2.489, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001519/0.001519, allocations: 168.3 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.832/1.832, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.00101/0.00101, allocations: 95.55 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.899e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3354, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.427, allocations: 151.8 MB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.427, allocations: 84.44 kB / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009314/1.437, allocations: 3.564 MB / 1.371 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/1.437, allocations: 0 / 1.371 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.239e-05/1.437, allocations: 4 kB / 1.371 GB, free: 15.21 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007953/1.438, allocations: 481 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.438, allocations: 8.031 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.685e-05/1.438, allocations: 53.98 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/1.438, allocations: 23.72 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/1.438, allocations: 267 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/1.438, allocations: 19.48 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/1.438, allocations: 19.94 kB / 1.371 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/1.439, allocations: 209.7 kB / 1.372 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.439, allocations: 0 / 1.372 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/1.439, allocations: 10.5 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.439, allocations: 4 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/1.439, allocations: 132.9 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/1.44, allocations: 0.818 MB / 1.373 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/1.441, allocations: 172.8 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/1.441, allocations: 74.55 kB / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/1.441, allocations: 0 / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/1.441, allocations: 95.27 kB / 1.373 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/1.441, allocations: 4 kB / 1.373 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.000307/1.441, allocations: 142.5 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.442, allocations: 81.11 kB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/1.442, allocations: 214.5 kB / 1.373 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/1.442, allocations: 33.27 kB / 1.373 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/1.442, allocations: 143.5 kB / 1.374 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/1.442, allocations: 50.05 kB / 1.374 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/1.442, allocations: 3.25 kB / 1.374 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.442, allocations: 332.2 kB / 1.374 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/1.442, allocations: 42.56 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/1.442, allocations: 74.17 kB / 1.374 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.763e-05/1.442, allocations: 42.25 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.442, allocations: 4 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003008/1.443, allocations: 167.8 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.443, allocations: 185.1 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.443, allocations: 0 / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/1.443, allocations: 4 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/1.443, allocations: 35.92 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.443, allocations: 3.984 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/1.443, allocations: 39.08 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/1.443, allocations: 4 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.443, allocations: 4 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001869/1.444, allocations: 105.7 kB / 1.375 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/1.444, allocations: 0 / 1.375 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/1.444, allocations: 0 / 1.375 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/1.444, allocations: 39.25 kB / 1.375 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/1.444, allocations: 4 kB / 1.375 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/1.444, allocations: 23.83 kB / 1.375 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/1.444, allocations: 5.875 kB / 1.375 GB, free: 11.59 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001043/1.444, allocations: 114.4 kB / 1.375 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/1.444, allocations: 15.81 kB / 1.375 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/1.444, allocations: 32.78 kB / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.444, allocations: 4 kB / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.444, allocations: 0 / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.444, allocations: 0 / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/1.445, allocations: 0.5199 MB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.445, allocations: 4 kB / 1.375 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/1.445, allocations: 39.86 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/1.445, allocations: 4 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/1.445, allocations: 5.75 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.445, allocations: 0 / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.445, allocations: 0 / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/1.445, allocations: 297.2 kB / 1.376 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/1.445, allocations: 100.7 kB / 1.376 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/1.445, allocations: 11.94 kB / 1.376 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/1.446, allocations: 23.8 kB / 1.376 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/1.446, allocations: 11.98 kB / 1.376 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.446, allocations: 3.688 kB / 1.376 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001963/1.446, allocations: 181.7 kB / 1.376 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.515e-06/1.446, allocations: 0 / 1.376 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003494/1.446, allocations: 78 kB / 1.376 GB, free: 10.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0007561/1.447, allocations: 0.8353 MB / 1.377 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003319/1.447, allocations: 173.8 kB / 1.377 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.447, allocations: 0 / 1.377 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.021e-05/1.447, allocations: 55.88 kB / 1.377 GB, free: 9.355 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/1.448, allocations: 44.7 kB / 1.377 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/1.449, allocations: 346.5 kB / 1.377 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/1.449, allocations: 0.7446 MB / 1.378 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001435/1.449, allocations: 26.31 kB / 1.378 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.449, allocations: 69.59 kB / 1.378 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of SimCode: time 1.062e-06/1.449, allocations: 0 / 1.378 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/1.466, allocations: 4.231 MB / 1.382 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/1.466, allocations: 181.4 kB / 1.383 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/3.466, allocations: 1.688 kB / 1.383 GB, free: 3.898 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat does not exist to compare? outputFormat=mat