Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",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.381/2.381, allocations: 393.5 MB / 408.4 MB, free: 11 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.001274/0.001274, allocations: 180 kB / 0.4901 GB, free: 2.223 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.751/1.751, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001443/0.001443, allocations: 99.25 kB / 0.9396 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004449, allocations: 7 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3814, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.369/1.751, allocations: 457.9 MB / 1.676 GB, free: 1.535 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/1.751, allocations: 69.09 kB / 1.676 GB, free: 1.5 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.09874/1.85, allocations: 36.81 MB / 1.712 GB, free: 1.113 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.244e-06/1.85, allocations: 0 / 1.712 GB, free: 1.113 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.85, allocations: 0 / 1.712 GB, free: 1.113 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008107/1.851, allocations: 378.6 kB / 1.713 GB, free: 0.6992 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.837e-05/1.851, allocations: 12.56 kB / 1.713 GB, free: 0.6875 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.996e-05/1.851, allocations: 38.45 kB / 1.713 GB, free: 0.6445 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/1.851, allocations: 12.77 kB / 1.713 GB, free: 0.6328 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.851, allocations: 163 kB / 1.713 GB, free: 444 kB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.851, allocations: 4 kB / 1.713 GB, free: 440 kB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/1.851, allocations: 11.22 kB / 1.713 GB, free: 432 kB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/1.852, allocations: 52.3 kB / 1.713 GB, free: 380 kB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.852, allocations: 0 / 1.713 GB, free: 380 kB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.852, allocations: 4 kB / 1.713 GB, free: 376 kB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.852, allocations: 3.953 kB / 1.713 GB, free: 372 kB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.556e-05/1.852, allocations: 19.61 kB / 1.713 GB, free: 356 kB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/1.852, allocations: 164.8 kB / 1.713 GB, free: 148 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/1.852, allocations: 49.81 kB / 1.713 GB, free: 96 kB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/1.863, allocations: 3.141 MB / 1.716 GB, free: 12.9 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/1.863, allocations: 30.56 kB / 1.716 GB, free: 12.86 MB / 1.057 GB Notification: Performance of pre-optimization done (n=7): time 2.935e-06/1.863, allocations: 0 / 1.716 GB, free: 12.86 MB / 1.057 GB Notification: Performance of matching and sorting (n=11): time 0.03587/1.899, allocations: 13.45 MB / 1.73 GB, free: 15.38 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/1.899, allocations: 55.41 kB / 1.73 GB, free: 15.31 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/1.899, allocations: 96.5 kB / 1.73 GB, free: 15.21 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/1.899, allocations: 25.7 kB / 1.73 GB, free: 15.18 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/1.9, allocations: 84.14 kB / 1.73 GB, free: 15.09 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 6.664e-05/1.9, allocations: 38.83 kB / 1.73 GB, free: 15.06 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/1.9, allocations: 0 / 1.73 GB, free: 15.06 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.9, allocations: 318.5 kB / 1.73 GB, free: 14.75 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/1.9, allocations: 19.31 kB / 1.73 GB, free: 14.73 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/1.9, allocations: 19.73 kB / 1.73 GB, free: 14.72 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.203e-05/1.9, allocations: 35.36 kB / 1.73 GB, free: 14.7 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/1.9, allocations: 0 / 1.73 GB, free: 14.7 MB / 1.073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002527/1.9, allocations: 104 kB / 1.73 GB, free: 14.61 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/1.9, allocations: 8 kB / 1.73 GB, free: 14.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.9, allocations: 0 / 1.73 GB, free: 14.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/1.9, allocations: 7.891 kB / 1.73 GB, free: 14.59 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/1.901, allocations: 31.55 kB / 1.73 GB, free: 14.56 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/1.901, allocations: 0 / 1.73 GB, free: 14.56 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/1.901, allocations: 0 / 1.73 GB, free: 14.56 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/1.901, allocations: 4 kB / 1.73 GB, free: 14.56 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001183/1.901, allocations: 125.2 kB / 1.73 GB, free: 14.43 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/1.901, allocations: 7.938 kB / 1.73 GB, free: 14.43 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/1.901, allocations: 124.4 kB / 1.731 GB, free: 14.32 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.901, allocations: 8 kB / 1.731 GB, free: 14.31 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.901, allocations: 3.953 kB / 1.731 GB, free: 14.31 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/1.901, allocations: 3.984 kB / 1.731 GB, free: 14.3 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/1.901, allocations: 173.2 kB / 1.731 GB, free: 14.09 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.901, allocations: 3.938 kB / 1.731 GB, free: 14.09 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/1.902, allocations: 23.98 kB / 1.731 GB, free: 14.07 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.902, allocations: 3.984 kB / 1.731 GB, free: 14.06 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.902, allocations: 7.75 kB / 1.731 GB, free: 14.06 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/1.902, allocations: 0 / 1.731 GB, free: 14.06 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/1.902, allocations: 3.938 kB / 1.731 GB, free: 14.05 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/1.902, allocations: 151.6 kB / 1.731 GB, free: 13.91 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/1.902, allocations: 100.1 kB / 1.731 GB, free: 13.8 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/1.902, allocations: 0 / 1.731 GB, free: 13.8 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.902, allocations: 15.48 kB / 1.731 GB, free: 13.79 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/1.902, allocations: 7.984 kB / 1.731 GB, free: 13.79 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.902, allocations: 8 kB / 1.731 GB, free: 13.78 MB / 1.073 GB Notification: Performance of sorting global known variables: time 5.644e-05/1.902, allocations: 83.23 kB / 1.731 GB, free: 13.7 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.1e-07/1.902, allocations: 0 / 1.731 GB, free: 13.7 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002974/1.905, allocations: 0.5988 MB / 1.732 GB, free: 13.12 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.004134/1.909, allocations: 1.342 MB / 1.733 GB, free: 11.8 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0001932/1.91, allocations: 66.41 kB / 1.733 GB, free: 11.75 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.91, allocations: 0 / 1.733 GB, free: 11.75 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/1.91, allocations: 38.73 kB / 1.733 GB, free: 11.72 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/1.91, allocations: 0 / 1.733 GB, free: 11.72 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/1.912, allocations: 0.7949 MB / 1.734 GB, free: 10.92 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.912, allocations: 0.6887 MB / 1.735 GB, free: 10.2 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0001107/1.912, allocations: 20.55 kB / 1.735 GB, free: 10.18 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/1.912, allocations: 22.73 kB / 1.735 GB, free: 10.16 MB / 1.073 GB Notification: Performance of SimCode: time 3.81e-07/1.912, allocations: 0 / 1.735 GB, free: 10.16 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/1.974, allocations: 29.95 MB / 1.764 GB, free: 12.32 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.974, allocations: 180.6 kB / 1.764 GB, free: 12.07 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/4.959, allocations: 3.938 kB / 1.764 GB, free: 12.07 MB / 1.104 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat does not exist to compare? outputFormat=mat