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.221/2.221, allocations: 390.3 MB / 402.8 MB, free: 6.633 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.001091/0.001091, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0009163/0.0009165, allocations: 103.8 kB / 0.9318 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.748e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2709, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.463, allocations: 457.9 MB / 1.666 GB, free: 8.449 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.464, allocations: 67.97 kB / 1.666 GB, free: 8.383 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 0.7235/2.187, allocations: 36.71 MB / 1.702 GB, free: 365.8 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.092e-06/2.187, allocations: 0 / 1.702 GB, free: 365.8 MB / 1.135 GB Notification: Performance of Transformations before backend: time 7.664e-06/2.187, allocations: 1.031 kB / 1.702 GB, free: 365.8 MB / 1.135 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.0005305/2.188, allocations: 367.6 kB / 1.702 GB, free: 365.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/2.188, allocations: 9.062 kB / 1.702 GB, free: 365.5 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/2.188, allocations: 37.53 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/2.188, allocations: 14.61 kB / 1.702 GB, free: 365.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/2.188, allocations: 166.7 kB / 1.702 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/2.188, allocations: 1.75 kB / 1.702 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/2.188, allocations: 11.09 kB / 1.702 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/2.188, allocations: 56.41 kB / 1.702 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/2.188, allocations: 5.594 kB / 1.703 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/2.188, allocations: 4.328 kB / 1.703 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/2.188, allocations: 1.062 kB / 1.703 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/2.188, allocations: 18.06 kB / 1.703 GB, free: 365.2 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/2.189, allocations: 173 kB / 1.703 GB, free: 365 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/2.189, allocations: 49.69 kB / 1.703 GB, free: 365 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/2.189, allocations: 20.22 kB / 1.703 GB, free: 365 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/2.2, allocations: 3.144 MB / 1.706 GB, free: 364.3 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/2.2, allocations: 36.78 kB / 1.706 GB, free: 364.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=7): time 2.033e-06/2.2, allocations: 0 / 1.706 GB, free: 364.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=11): time 0.03395/2.234, allocations: 13.44 MB / 1.719 GB, free: 362.9 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/2.234, allocations: 60.52 kB / 1.719 GB, free: 362.8 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/2.234, allocations: 87.19 kB / 1.719 GB, free: 362.7 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/2.234, allocations: 29.73 kB / 1.719 GB, free: 362.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 1.62e-05/2.234, allocations: 80.14 kB / 1.719 GB, free: 362.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/2.234, allocations: 39.38 kB / 1.719 GB, free: 362.6 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/2.234, allocations: 3.438 kB / 1.719 GB, free: 362.6 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/2.234, allocations: 315.7 kB / 1.72 GB, free: 362.3 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/2.234, allocations: 24.42 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/2.234, allocations: 23.16 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.807e-05/2.234, allocations: 28.23 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/2.234, allocations: 0 / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002081/2.234, allocations: 96.44 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/2.234, allocations: 5.562 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/2.234, allocations: 0.75 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/2.234, allocations: 1.312 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/2.234, allocations: 30.06 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/2.234, allocations: 4.547 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/2.235, allocations: 8.891 kB / 1.72 GB, free: 362.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/2.235, allocations: 4.312 kB / 1.72 GB, free: 362.2 MB / 1.135 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 4.683e-05/2.235, allocations: 111.9 kB / 1.72 GB, free: 362.1 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/2.235, allocations: 7.625 kB / 1.72 GB, free: 362.1 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/2.235, allocations: 124.4 kB / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/2.235, allocations: 2.25 kB / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/2.235, allocations: 0 / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/2.235, allocations: 2.203 kB / 1.72 GB, free: 362 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/2.235, allocations: 184.3 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/2.235, allocations: 0 / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/2.235, allocations: 26.03 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/2.235, allocations: 1.188 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/2.235, allocations: 2.562 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/2.235, allocations: 1.219 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/2.235, allocations: 0.7031 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/2.236, allocations: 152.4 kB / 1.72 GB, free: 361.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/2.236, allocations: 96.75 kB / 1.72 GB, free: 361.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/2.236, allocations: 9.391 kB / 1.72 GB, free: 361.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/2.236, allocations: 12.59 kB / 1.72 GB, free: 361.7 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/2.236, allocations: 6.812 kB / 1.72 GB, free: 361.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/2.236, allocations: 14.19 kB / 1.721 GB, free: 361.7 MB / 1.135 GB Notification: Performance of sorting global known variables: time 2.018e-05/2.236, allocations: 80.34 kB / 1.721 GB, free: 361.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.3e-07/2.236, allocations: 0 / 1.721 GB, free: 361.6 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0027/2.239, allocations: 0.6021 MB / 1.721 GB, free: 361.6 MB / 1.135 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.003888/2.242, allocations: 1.336 MB / 1.722 GB, free: 360.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0001719/2.243, allocations: 62.69 kB / 1.723 GB, free: 360.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.243, allocations: 1.344 kB / 1.723 GB, free: 360.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/2.243, allocations: 32.75 kB / 1.723 GB, free: 360.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/2.243, allocations: 11.41 kB / 1.723 GB, free: 360.8 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/2.244, allocations: 414 kB / 1.723 GB, free: 360.6 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/2.244, allocations: 0.6935 MB / 1.724 GB, free: 359.9 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 9.67e-05/2.244, allocations: 23.64 kB / 1.724 GB, free: 359.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/2.244, allocations: 24.72 kB / 1.724 GB, free: 359.9 MB / 1.135 GB Notification: Performance of SimCode: time 3.41e-07/2.244, allocations: 1.188 kB / 1.724 GB, free: 359.9 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/2.297, allocations: 31.81 MB / 1.755 GB, free: 358.2 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/2.297, allocations: 160.5 kB / 1.755 GB, free: 358 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/4.8, allocations: 0 / 1.755 GB, free: 358 MB / 1.135 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