Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.582/2.582, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001208/0.001208, allocations: 169.2 kB / 498.1 MB, free: 5.754 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.829/1.829, allocations: 223.1 MB / 0.7948 GB, free: 18.84 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.00123/0.00123, allocations: 104 kB / 0.9346 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005161/0.0005163, allocations: 8.406 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.405, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2345/0.6396, allocations: 151.1 MB / 1.37 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.6399, allocations: 87.94 kB / 1.371 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.65, allocations: 3.577 MB / 1.374 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.577e-06/0.65, allocations: 0 / 1.374 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.93e-05/0.6501, allocations: 4 kB / 1.374 GB, free: 14.57 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001129/0.6512, allocations: 0.5144 MB / 1.375 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.6513, allocations: 8.031 kB / 1.375 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.6514, allocations: 58.48 kB / 1.375 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.6515, allocations: 27.62 kB / 1.375 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.652, allocations: 258.7 kB / 1.375 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.6521, allocations: 16.44 kB / 1.375 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.6521, allocations: 16 kB / 1.375 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.6527, allocations: 245.7 kB / 1.375 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6528, allocations: 0 / 1.375 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.6528, allocations: 8 kB / 1.375 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.6528, allocations: 4 kB / 1.375 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.6534, allocations: 193 kB / 1.375 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.6549, allocations: 0.8179 MB / 1.376 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.6555, allocations: 210.7 kB / 1.376 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.6556, allocations: 7.984 kB / 1.376 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003742/0.656, allocations: 127.6 kB / 1.376 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 2.474e-06/0.656, allocations: 7.938 kB / 1.376 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0007636/0.6567, allocations: 265.3 kB / 1.377 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.6568, allocations: 89.09 kB / 1.377 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.6571, allocations: 220.1 kB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.6572, allocations: 29.7 kB / 1.377 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.6574, allocations: 148.1 kB / 1.377 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.6574, allocations: 43.36 kB / 1.377 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.6574, allocations: 0 / 1.377 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.6577, allocations: 334.8 kB / 1.378 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.6579, allocations: 75.95 kB / 1.378 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.6581, allocations: 105.9 kB / 1.378 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.6584, allocations: 84.28 kB / 1.378 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6584, allocations: 3.938 kB / 1.378 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005219/0.6589, allocations: 217.3 kB / 1.378 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.6591, allocations: 182 kB / 1.378 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6591, allocations: 7.938 kB / 1.378 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.6591, allocations: 3.984 kB / 1.378 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.6593, allocations: 35.98 kB / 1.378 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.6593, allocations: 4 kB / 1.378 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.6595, allocations: 35.81 kB / 1.378 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.6595, allocations: 8 kB / 1.378 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.6595, allocations: 4.781 kB / 1.378 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003519/0.6599, allocations: 146 kB / 1.378 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6599, allocations: 3.953 kB / 1.378 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.6599, allocations: 4 kB / 1.378 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.6601, allocations: 27.98 kB / 1.378 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.6601, allocations: 0 / 1.378 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.6602, allocations: 31.83 kB / 1.378 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.6602, allocations: 4 kB / 1.378 GB, free: 9.746 MB / 0.8855 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 () * Number of clocked 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.0002299/0.6605, allocations: 221.1 kB / 1.379 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.6605, allocations: 15.81 kB / 1.379 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.6606, allocations: 29.78 kB / 1.379 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.6606, allocations: 0 / 1.379 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.6606, allocations: 0 / 1.379 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6606, allocations: 0 / 1.379 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009193/0.6615, allocations: 0.5842 MB / 1.379 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.6616, allocations: 0 / 1.379 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.6617, allocations: 39.94 kB / 1.379 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6618, allocations: 4 kB / 1.379 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.6618, allocations: 0 / 1.379 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6618, allocations: 0 / 1.379 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6618, allocations: 0 / 1.379 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.6626, allocations: 403.1 kB / 1.38 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.6627, allocations: 96.89 kB / 1.38 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.6627, allocations: 11.94 kB / 1.38 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.6629, allocations: 23.92 kB / 1.38 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.6629, allocations: 11.98 kB / 1.38 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.663, allocations: 0 / 1.38 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002114/0.6632, allocations: 184.4 kB / 1.38 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6632, allocations: 64 / 1.38 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004039/0.6636, allocations: 71.75 kB / 1.38 GB, free: 7.969 MB / 0.8855 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 () * Number of clocked 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.001228/0.6648, allocations: 0.9346 MB / 1.381 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006752/0.6655, allocations: 250.2 kB / 1.381 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6655, allocations: 0 / 1.381 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.6658, allocations: 87.89 kB / 1.381 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.6661, allocations: 37.98 kB / 1.381 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.6691, allocations: 1.469 MB / 1.383 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.6696, allocations: 0.7404 MB / 1.384 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.6697, allocations: 25.53 kB / 1.384 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.6699, allocations: 67.41 kB / 1.384 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of SimCode: time 1.773e-06/0.6699, allocations: 0 / 1.384 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.692, allocations: 4.01 MB / 1.388 GB, free: 428 kB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.6923, allocations: 200.6 kB / 1.388 GB, free: 172 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.844, allocations: 0 / 1.388 GB, free: 172 kB / 0.8855 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat does not exist to compare? outputFormat=mat