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.618/2.618, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001252/0.001252, allocations: 167.4 kB / 498.1 MB, free: 5.742 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.615/1.615, allocations: 223.1 MB / 0.7948 GB, free: 17.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.001005/0.001005, allocations: 102.6 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 14.88 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3287, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.52, allocations: 457.1 MB / 1.669 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.52, allocations: 69.03 kB / 1.669 GB, free: 4.68 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.09326/1.614, allocations: 36.81 MB / 1.705 GB, free: 4.266 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.747e-06/1.614, allocations: 0 / 1.705 GB, free: 4.266 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.614, allocations: 4 kB / 1.705 GB, free: 4.262 MB / 1.01 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.0007276/1.615, allocations: 374.5 kB / 1.706 GB, free: 3.852 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.615, allocations: 8.031 kB / 1.706 GB, free: 3.844 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/1.615, allocations: 41.95 kB / 1.706 GB, free: 3.797 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/1.615, allocations: 16.47 kB / 1.706 GB, free: 3.781 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.615, allocations: 163.1 kB / 1.706 GB, free: 3.582 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.615, allocations: 7.562 kB / 1.706 GB, free: 3.578 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.615, allocations: 4 kB / 1.706 GB, free: 3.574 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/1.615, allocations: 53.05 kB / 1.706 GB, free: 3.523 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.615, allocations: 4 kB / 1.706 GB, free: 3.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/1.615, allocations: 0 / 1.706 GB, free: 3.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.615, allocations: 3.953 kB / 1.706 GB, free: 3.516 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/1.615, allocations: 19.3 kB / 1.706 GB, free: 3.5 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/1.616, allocations: 168.6 kB / 1.706 GB, free: 3.293 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/1.616, allocations: 57.42 kB / 1.706 GB, free: 3.234 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/1.626, allocations: 3.135 MB / 1.709 GB, free: 52 kB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/1.626, allocations: 34.44 kB / 1.709 GB, free: 12 kB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/1.626, allocations: 0 / 1.709 GB, free: 12 kB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0312/1.657, allocations: 13.44 MB / 1.722 GB, free: 2.523 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.657, allocations: 51.41 kB / 1.722 GB, free: 2.461 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/1.657, allocations: 88.94 kB / 1.723 GB, free: 2.367 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/1.657, allocations: 33.39 kB / 1.723 GB, free: 2.332 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/1.657, allocations: 84.08 kB / 1.723 GB, free: 2.246 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/1.657, allocations: 38.27 kB / 1.723 GB, free: 2.215 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/1.657, allocations: 0 / 1.723 GB, free: 2.215 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.658, allocations: 318.7 kB / 1.723 GB, free: 1.898 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/1.658, allocations: 23.86 kB / 1.723 GB, free: 1.879 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/1.658, allocations: 23.3 kB / 1.723 GB, free: 1.863 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/1.658, allocations: 22.19 kB / 1.723 GB, free: 1.852 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/1.658, allocations: 4 kB / 1.723 GB, free: 1.848 MB / 1.026 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002148/1.658, allocations: 107.1 kB / 1.723 GB, free: 1.758 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.658, allocations: 4 kB / 1.723 GB, free: 1.754 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.658, allocations: 3.984 kB / 1.723 GB, free: 1.75 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.658, allocations: 3.953 kB / 1.723 GB, free: 1.746 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/1.658, allocations: 27.92 kB / 1.723 GB, free: 1.719 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.658, allocations: 0 / 1.723 GB, free: 1.719 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/1.658, allocations: 8 kB / 1.723 GB, free: 1.711 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/1.658, allocations: 7.812 kB / 1.723 GB, free: 1.707 MB / 1.026 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.0001053/1.658, allocations: 117.2 kB / 1.723 GB, free: 1.586 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/1.658, allocations: 4 kB / 1.723 GB, free: 1.582 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/1.659, allocations: 134 kB / 1.723 GB, free: 1.469 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.659, allocations: 0 / 1.723 GB, free: 1.469 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/1.659, allocations: 3.953 kB / 1.723 GB, free: 1.465 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.659, allocations: 3.984 kB / 1.723 GB, free: 1.461 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/1.659, allocations: 177.5 kB / 1.724 GB, free: 1.25 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.659, allocations: 0 / 1.724 GB, free: 1.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/1.659, allocations: 23.98 kB / 1.724 GB, free: 1.227 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/1.659, allocations: 3.984 kB / 1.724 GB, free: 1.223 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/1.659, allocations: 4 kB / 1.724 GB, free: 1.219 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.659, allocations: 4 kB / 1.724 GB, free: 1.215 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.659, allocations: 0 / 1.724 GB, free: 1.215 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/1.659, allocations: 159.5 kB / 1.724 GB, free: 1.07 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/1.66, allocations: 93 kB / 1.724 GB, free: 0.9648 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/1.66, allocations: 0 / 1.724 GB, free: 0.9648 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/1.66, allocations: 19.05 kB / 1.724 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/1.66, allocations: 11.98 kB / 1.724 GB, free: 0.9375 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.66, allocations: 7.375 kB / 1.724 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of sorting global known variables: time 4.143e-05/1.66, allocations: 79.23 kB / 1.724 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.1e-07/1.66, allocations: 0 / 1.724 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002343/1.662, allocations: 0.6009 MB / 1.725 GB, free: 288 kB / 1.026 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.004242/1.666, allocations: 1.352 MB / 1.726 GB, free: 14.95 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002319/1.667, allocations: 60.72 kB / 1.726 GB, free: 14.9 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.667, allocations: 0 / 1.726 GB, free: 14.9 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/1.667, allocations: 42.92 kB / 1.726 GB, free: 14.86 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/1.667, allocations: 8.969 kB / 1.726 GB, free: 14.86 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/1.669, allocations: 0.7806 MB / 1.727 GB, free: 14.07 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.669, allocations: 0.6848 MB / 1.727 GB, free: 13.36 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001146/1.669, allocations: 28.53 kB / 1.728 GB, free: 13.32 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/1.669, allocations: 19.06 kB / 1.728 GB, free: 13.31 MB / 1.042 GB Notification: Performance of SimCode: time 2.124e-06/1.669, allocations: 0 / 1.728 GB, free: 13.31 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06188/1.731, allocations: 29.95 MB / 1.757 GB, free: 15.46 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/1.731, allocations: 176.8 kB / 1.757 GB, free: 15.21 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/4.522, allocations: 4 kB / 1.757 GB, free: 15.21 MB / 1.073 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