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.255/2.255, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001192/0.001192, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.604/1.604, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008874/0.0008875, allocations: 87.89 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.613e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2606, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.564, allocations: 457 MB / 1.659 GB, free: 6.418 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.564, allocations: 69.66 kB / 1.659 GB, free: 6.383 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.09551/1.659, allocations: 36.71 MB / 1.695 GB, free: 6.051 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.164e-06/1.66, allocations: 0 / 1.695 GB, free: 6.051 MB / 1.104 GB Notification: Performance of Transformations before backend: time 9.468e-06/1.66, allocations: 4 kB / 1.695 GB, free: 6.047 MB / 1.104 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.000709/1.66, allocations: 373.3 kB / 1.695 GB, free: 5.645 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.66, allocations: 15.97 kB / 1.695 GB, free: 5.629 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/1.66, allocations: 30.56 kB / 1.695 GB, free: 5.59 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/1.661, allocations: 16.72 kB / 1.695 GB, free: 5.574 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/1.661, allocations: 166.4 kB / 1.695 GB, free: 5.375 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.661, allocations: 4 kB / 1.695 GB, free: 5.371 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/1.661, allocations: 7.312 kB / 1.695 GB, free: 5.367 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/1.661, allocations: 53.09 kB / 1.695 GB, free: 5.312 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.661, allocations: 0 / 1.695 GB, free: 5.312 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/1.661, allocations: 3.438 kB / 1.695 GB, free: 5.312 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/1.661, allocations: 15.92 kB / 1.695 GB, free: 5.297 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/1.661, allocations: 19.94 kB / 1.695 GB, free: 5.277 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/1.661, allocations: 156.2 kB / 1.696 GB, free: 5.082 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/1.661, allocations: 49.56 kB / 1.696 GB, free: 5.031 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/1.661, allocations: 20.23 kB / 1.696 GB, free: 5.012 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/1.672, allocations: 3.147 MB / 1.699 GB, free: 1.816 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/1.672, allocations: 37.69 kB / 1.699 GB, free: 1.773 MB / 1.104 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/1.672, allocations: 0 / 1.699 GB, free: 1.773 MB / 1.104 GB Notification: Performance of matching and sorting (n=11): time 0.03203/1.704, allocations: 13.44 MB / 1.712 GB, free: 4.289 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/1.704, allocations: 55.34 kB / 1.712 GB, free: 4.223 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/1.704, allocations: 89 kB / 1.712 GB, free: 4.129 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.704, allocations: 29.33 kB / 1.712 GB, free: 4.098 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/1.704, allocations: 80.14 kB / 1.712 GB, free: 4.016 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/1.705, allocations: 42.56 kB / 1.712 GB, free: 3.98 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/1.705, allocations: 4 kB / 1.712 GB, free: 3.977 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.705, allocations: 322.6 kB / 1.712 GB, free: 3.656 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/1.705, allocations: 15.56 kB / 1.712 GB, free: 3.645 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.811e-05/1.705, allocations: 22.81 kB / 1.712 GB, free: 3.629 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/1.705, allocations: 24.8 kB / 1.713 GB, free: 3.609 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/1.705, allocations: 0 / 1.713 GB, free: 3.609 MB / 1.12 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002105/1.705, allocations: 106.6 kB / 1.713 GB, free: 3.516 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.705, allocations: 4 kB / 1.713 GB, free: 3.512 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.705, allocations: 0 / 1.713 GB, free: 3.512 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.705, allocations: 4 kB / 1.713 GB, free: 3.508 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/1.705, allocations: 31.88 kB / 1.713 GB, free: 3.477 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.705, allocations: 0 / 1.713 GB, free: 3.477 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/1.705, allocations: 7.438 kB / 1.713 GB, free: 3.473 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/1.705, allocations: 7.984 kB / 1.713 GB, free: 3.465 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 6.915e-05/1.705, allocations: 109.3 kB / 1.713 GB, free: 3.355 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/1.705, allocations: 4 kB / 1.713 GB, free: 3.352 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/1.706, allocations: 126.5 kB / 1.713 GB, free: 3.242 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.706, allocations: 4 kB / 1.713 GB, free: 3.238 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.706, allocations: 3.953 kB / 1.713 GB, free: 3.234 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.706, allocations: 0 / 1.713 GB, free: 3.234 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/1.706, allocations: 173.2 kB / 1.713 GB, free: 3.027 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.706, allocations: 0 / 1.713 GB, free: 3.027 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/1.706, allocations: 27.92 kB / 1.713 GB, free: 3 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.706, allocations: 0 / 1.713 GB, free: 3 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/1.706, allocations: 4 kB / 1.713 GB, free: 2.996 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.706, allocations: 8 kB / 1.713 GB, free: 2.988 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.706, allocations: 0 / 1.713 GB, free: 2.988 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/1.706, allocations: 146.5 kB / 1.713 GB, free: 2.852 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/1.706, allocations: 96.66 kB / 1.713 GB, free: 2.742 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.707, allocations: 3.938 kB / 1.713 GB, free: 2.742 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.707, allocations: 19.98 kB / 1.713 GB, free: 2.723 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/1.707, allocations: 7.984 kB / 1.713 GB, free: 2.715 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/1.707, allocations: 7.75 kB / 1.713 GB, free: 2.711 MB / 1.12 GB Notification: Performance of sorting global known variables: time 2.756e-05/1.707, allocations: 75.28 kB / 1.713 GB, free: 2.637 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.2e-07/1.707, allocations: 0 / 1.713 GB, free: 2.637 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.00215/1.709, allocations: 0.6059 MB / 1.714 GB, free: 2.055 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.004699/1.714, allocations: 1.333 MB / 1.715 GB, free: 0.7305 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0001674/1.714, allocations: 72.23 kB / 1.715 GB, free: 0.6758 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.714, allocations: 0 / 1.715 GB, free: 0.6758 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/1.714, allocations: 35.55 kB / 1.715 GB, free: 0.6445 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/1.714, allocations: 8.469 kB / 1.715 GB, free: 0.6406 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/1.716, allocations: 413.7 kB / 1.716 GB, free: 216 kB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.716, allocations: 0.6892 MB / 1.717 GB, free: 15.5 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0001047/1.716, allocations: 28.53 kB / 1.717 GB, free: 15.46 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/1.716, allocations: 23.19 kB / 1.717 GB, free: 15.45 MB / 1.135 GB Notification: Performance of SimCode: time 2.71e-07/1.716, allocations: 4 kB / 1.717 GB, free: 15.44 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6824/2.398, allocations: 31.81 MB / 1.748 GB, free: 379.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/2.399, allocations: 141.6 kB / 1.748 GB, free: 379.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/5.021, allocations: 2.25 kB / 1.748 GB, free: 379.1 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