Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamDerivativeCheck",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.455/2.455, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001609/0.001609, allocations: 184.7 kB / 487.4 MB, free: 5.062 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.698/1.698, allocations: 221.5 MB / 0.7824 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 96.62 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.133e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2986, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.608, allocations: 456.4 MB / 1.652 GB, free: 15.12 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.608, allocations: 73.03 kB / 1.652 GB, free: 15.08 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.09014/1.698, allocations: 36.17 MB / 1.687 GB, free: 120 kB / 1.089 GB Notification: Performance of FrontEnd: time 1.894e-06/1.698, allocations: 0 / 1.687 GB, free: 120 kB / 1.089 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.698, allocations: 8 kB / 1.687 GB, free: 112 kB / 1.089 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.000539/1.699, allocations: 373.1 kB / 1.687 GB, free: 15.71 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.699, allocations: 11.97 kB / 1.687 GB, free: 15.7 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/1.699, allocations: 16.72 kB / 1.687 GB, free: 15.68 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/1.699, allocations: 163 kB / 1.688 GB, free: 15.48 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/1.699, allocations: 0 / 1.688 GB, free: 15.48 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/1.699, allocations: 7.938 kB / 1.688 GB, free: 15.47 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.804e-05/1.699, allocations: 23.17 kB / 1.688 GB, free: 15.45 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/1.699, allocations: 49.5 kB / 1.688 GB, free: 15.4 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.699, allocations: 0 / 1.688 GB, free: 15.4 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/1.699, allocations: 3.984 kB / 1.688 GB, free: 15.4 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.699, allocations: 3.953 kB / 1.688 GB, free: 15.39 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/1.699, allocations: 137.5 kB / 1.688 GB, free: 15.23 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/1.7, allocations: 45.06 kB / 1.688 GB, free: 15.18 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/1.7, allocations: 12.61 kB / 1.688 GB, free: 15.17 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/1.71, allocations: 3.147 MB / 1.691 GB, free: 11.97 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.71, allocations: 34.56 kB / 1.691 GB, free: 11.93 MB / 1.104 GB Notification: Performance of pre-optimization done (n=7): time 1.634e-06/1.71, allocations: 0 / 1.691 GB, free: 11.93 MB / 1.104 GB Notification: Performance of matching and sorting (n=11): time 0.03112/1.741, allocations: 13.39 MB / 1.704 GB, free: 14.49 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/1.741, allocations: 55.36 kB / 1.704 GB, free: 14.42 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/1.741, allocations: 100.4 kB / 1.704 GB, free: 14.32 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/1.741, allocations: 25.7 kB / 1.704 GB, free: 14.29 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/1.741, allocations: 80.14 kB / 1.704 GB, free: 14.21 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/1.741, allocations: 38.52 kB / 1.704 GB, free: 14.17 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/1.741, allocations: 4.125 kB / 1.704 GB, free: 14.17 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.741, allocations: 318 kB / 1.705 GB, free: 13.85 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/1.741, allocations: 15.75 kB / 1.705 GB, free: 13.84 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/1.741, allocations: 17.25 kB / 1.705 GB, free: 13.83 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.477e-05/1.741, allocations: 25.8 kB / 1.705 GB, free: 13.81 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/1.741, allocations: 0 / 1.705 GB, free: 13.81 MB / 1.12 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001941/1.742, allocations: 95.77 kB / 1.705 GB, free: 13.73 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.742, allocations: 4 kB / 1.705 GB, free: 13.72 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.742, allocations: 3.938 kB / 1.705 GB, free: 13.72 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.742, allocations: 8 kB / 1.705 GB, free: 13.71 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/1.742, allocations: 27.3 kB / 1.705 GB, free: 13.69 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.742, allocations: 0 / 1.705 GB, free: 13.69 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/1.742, allocations: 11.94 kB / 1.705 GB, free: 13.68 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/1.742, allocations: 4 kB / 1.705 GB, free: 13.67 MB / 1.12 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 () * 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 7.537e-05/1.742, allocations: 102 kB / 1.705 GB, free: 13.57 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001661/1.742, allocations: 84.97 kB / 1.705 GB, free: 13.48 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/1.742, allocations: 11.28 kB / 1.705 GB, free: 13.48 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/1.742, allocations: 112.8 kB / 1.705 GB, free: 13.38 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.742, allocations: 0 / 1.705 GB, free: 13.38 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.742, allocations: 3.953 kB / 1.705 GB, free: 13.37 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.742, allocations: 0 / 1.705 GB, free: 13.37 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/1.743, allocations: 153.3 kB / 1.705 GB, free: 13.19 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.743, allocations: 0 / 1.705 GB, free: 13.19 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/1.743, allocations: 31.92 kB / 1.705 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.743, allocations: 0 / 1.705 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/1.743, allocations: 0 / 1.705 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.743, allocations: 4 kB / 1.705 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/1.743, allocations: 0 / 1.705 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/1.743, allocations: 143 kB / 1.706 GB, free: 13.02 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/1.743, allocations: 92.94 kB / 1.706 GB, free: 12.91 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/1.743, allocations: 0 / 1.706 GB, free: 12.91 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/1.743, allocations: 15.98 kB / 1.706 GB, free: 12.9 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/1.743, allocations: 7.625 kB / 1.706 GB, free: 12.89 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/1.743, allocations: 7.984 kB / 1.706 GB, free: 12.89 MB / 1.12 GB Notification: Performance of sorting global known variables: time 3.306e-05/1.743, allocations: 75.28 kB / 1.706 GB, free: 12.81 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.31e-07/1.743, allocations: 4 kB / 1.706 GB, free: 12.81 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002151/1.746, allocations: 0.5984 MB / 1.706 GB, free: 12.23 MB / 1.12 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 () * 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.003641/1.749, allocations: 1.403 MB / 1.708 GB, free: 10.84 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001411/1.749, allocations: 62.55 kB / 1.708 GB, free: 10.8 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.749, allocations: 0 / 1.708 GB, free: 10.8 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/1.749, allocations: 31.86 kB / 1.708 GB, free: 10.77 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/1.75, allocations: 8 kB / 1.708 GB, free: 10.76 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/1.751, allocations: 401.5 kB / 1.708 GB, free: 10.33 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/1.751, allocations: 0.6967 MB / 1.709 GB, free: 9.609 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 9.481e-05/1.751, allocations: 20.55 kB / 1.709 GB, free: 9.59 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/1.751, allocations: 26.86 kB / 1.709 GB, free: 9.57 MB / 1.12 GB Notification: Performance of SimCode: time 2.61e-07/1.751, allocations: 0 / 1.709 GB, free: 9.57 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/1.813, allocations: 25.41 MB / 1.734 GB, free: 148 kB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/1.814, allocations: 129.4 kB / 1.734 GB, free: 15.96 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/4.307, allocations: 3.938 kB / 1.734 GB, free: 15.95 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 Buildings_9_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck_res.mat does not exist to compare? outputFormat=mat