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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 92.08 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.55/2.55, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003972, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7957/0.7961, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001645/0.7979, allocations: 0.9723 MB / 0.9821 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1353/0.9332, allocations: 124.9 MB / 1.104 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.9333, allocations: 0 / 1.104 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.9333, allocations: 0 / 1.104 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.9334, allocations: 7.922 kB / 1.104 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.9343, allocations: 342.8 kB / 1.104 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.9344, allocations: 47.83 kB / 1.104 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.9344, allocations: 0 / 1.104 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.9345, allocations: 19.98 kB / 1.104 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.9346, allocations: 19.91 kB / 1.104 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.9346, allocations: 4 kB / 1.104 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.9359, allocations: 0.7686 MB / 1.105 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.936, allocations: 11.92 kB / 1.105 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.936, allocations: 33.7 kB / 1.105 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.9363, allocations: 281.7 kB / 1.106 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9363, allocations: 0 / 1.106 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9363, allocations: 0 / 1.106 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.9363, allocations: 0 / 1.106 GB, free: 6.504 MB / 0.8575 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.0004253/0.9368, allocations: 371.2 kB / 1.106 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.9368, allocations: 12.03 kB / 1.106 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.9369, allocations: 30.56 kB / 1.106 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.937, allocations: 12 kB / 1.106 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.63e-05/0.9371, allocations: 163.1 kB / 1.106 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.9371, allocations: 4 kB / 1.106 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.9372, allocations: 11.84 kB / 1.106 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.9373, allocations: 57.62 kB / 1.106 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9373, allocations: 0 / 1.106 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.9373, allocations: 4 kB / 1.106 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.9374, allocations: 0 / 1.106 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.9374, allocations: 19.98 kB / 1.106 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.9376, allocations: 165.7 kB / 1.106 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.586e-05/0.9377, allocations: 54.48 kB / 1.106 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.9377, allocations: 16.86 kB / 1.106 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009311/0.947, allocations: 3.202 MB / 1.11 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.9471, allocations: 38.52 kB / 1.11 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.716e-06/0.9471, allocations: 0 / 1.11 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.03328/0.9804, allocations: 14.26 MB / 1.123 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.9805, allocations: 51.41 kB / 1.124 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.9806, allocations: 93.86 kB / 1.124 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.9806, allocations: 29.7 kB / 1.124 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.9807, allocations: 80.14 kB / 1.124 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.9807, allocations: 35.45 kB / 1.124 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.9807, allocations: 8.125 kB / 1.124 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9809, allocations: 318.8 kB / 1.124 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.9809, allocations: 23.98 kB / 1.124 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.981, allocations: 23.94 kB / 1.124 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.148e-05/0.981, allocations: 24 kB / 1.124 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.981, allocations: 0 / 1.124 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002159/0.9813, allocations: 116.7 kB / 1.124 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-05/0.9813, allocations: 4 kB / 1.124 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9814, allocations: 0 / 1.124 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.9814, allocations: 4 kB / 1.124 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.9815, allocations: 27.98 kB / 1.124 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.9815, allocations: 0 / 1.124 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.9815, allocations: 7.938 kB / 1.124 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.9816, allocations: 4 kB / 1.124 GB, free: 2.805 MB / 0.8731 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 8.646e-05/0.9816, allocations: 113.8 kB / 1.124 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.9817, allocations: 7.891 kB / 1.124 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.9821, allocations: 133.4 kB / 1.125 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.9821, allocations: 0 / 1.125 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9821, allocations: 0 / 1.125 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.9821, allocations: 3.984 kB / 1.125 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.9823, allocations: 181.6 kB / 1.125 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9823, allocations: 0 / 1.125 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.9824, allocations: 23.98 kB / 1.125 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.9824, allocations: 7.953 kB / 1.125 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.9824, allocations: 8 kB / 1.125 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.9824, allocations: 0 / 1.125 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.9824, allocations: 4 kB / 1.125 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.9828, allocations: 149 kB / 1.125 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.9829, allocations: 89.05 kB / 1.125 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.9829, allocations: 3.953 kB / 1.125 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.983, allocations: 27.92 kB / 1.125 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.9831, allocations: 4 kB / 1.125 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.9831, allocations: 11.98 kB / 1.125 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001725/0.9833, allocations: 75.28 kB / 1.125 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9833, allocations: 0 / 1.125 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001837/0.9851, allocations: 0.5624 MB / 1.126 GB, free: 1.316 MB / 0.8731 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.003347/0.9885, allocations: 0.9326 MB / 1.127 GB, free: 360 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.9887, allocations: 59.92 kB / 1.127 GB, free: 300 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9887, allocations: 0 / 1.127 GB, free: 300 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.9888, allocations: 39.86 kB / 1.127 GB, free: 260 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.989, allocations: 13.22 kB / 1.127 GB, free: 248 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.9907, allocations: 0.7661 MB / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.991, allocations: 0.6848 MB / 1.128 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000107/0.9911, allocations: 32.47 kB / 1.128 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.9912, allocations: 19.5 kB / 1.128 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/0.9912, allocations: 0 / 1.128 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05173/1.043, allocations: 26.64 MB / 1.154 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/1.043, allocations: 178 kB / 1.154 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.802, allocations: 7.875 kB / 1.154 GB, free: 3.875 MB / 0.9044 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) Environment - environmentSimulation: 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