Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.001086/0.001085, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001539/0.001539, allocations: 168.7 kB / 15.95 MB, free: 204 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.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.626/2.626, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.8283, allocations: 146.8 MB / 0.9811 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001415/0.8298, allocations: 0.9917 MB / 0.9821 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003037/0.8328, allocations: 2.332 MB / 0.9844 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.8329, allocations: 4 kB / 0.9844 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.8329, allocations: 3.938 kB / 0.9844 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.833, allocations: 3.984 kB / 0.9844 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.8335, allocations: 99.53 kB / 0.9845 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.8335, allocations: 35.86 kB / 0.9845 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.8336, allocations: 0 / 0.9845 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.8336, allocations: 19.91 kB / 0.9845 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.8337, allocations: 19.98 kB / 0.9846 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.8337, allocations: 4 kB / 0.9846 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.834, allocations: 91.75 kB / 0.9846 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.834, allocations: 8 kB / 0.9847 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.8341, allocations: 29.7 kB / 0.9847 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.8343, allocations: 50.31 kB / 0.9847 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8343, allocations: 3.938 kB / 0.9847 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8343, allocations: 0 / 0.9847 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.8343, allocations: 0 / 0.9847 GB, free: 2.676 MB / 0.7325 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.0004012/0.8347, allocations: 347.3 kB / 0.9851 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8348, allocations: 8.031 kB / 0.9851 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.326e-05/0.8349, allocations: 30.56 kB / 0.9851 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.8351, allocations: 15.98 kB / 0.9851 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.8352, allocations: 167 kB / 0.9853 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.8352, allocations: 0 / 0.9853 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.8352, allocations: 7.953 kB / 0.9853 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.8354, allocations: 72.25 kB / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8354, allocations: 0 / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.8354, allocations: 8 kB / 0.9854 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8354, allocations: 0 / 0.9854 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.412e-05/0.8355, allocations: 23.86 kB / 0.9854 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.8361, allocations: 474.8 kB / 0.9858 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.8362, allocations: 67.75 kB / 0.9859 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.8362, allocations: 18.7 kB / 0.9859 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.8363, allocations: 7.938 kB / 0.9859 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.8363, allocations: 38.56 kB / 0.986 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.8363, allocations: 0 / 0.986 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006541/0.837, allocations: 306.4 kB / 0.9863 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.837, allocations: 106.8 kB / 0.9864 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.8371, allocations: 98.09 kB / 0.9865 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.8371, allocations: 33.7 kB / 0.9865 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.8372, allocations: 88.03 kB / 0.9866 GB, free: 492 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.8372, allocations: 23.66 kB / 0.9866 GB, free: 468 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.8372, allocations: 0 / 0.9866 GB, free: 468 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8374, allocations: 326.8 kB / 0.9869 GB, free: 132 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.8374, allocations: 11.94 kB / 0.9869 GB, free: 120 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-05/0.8375, allocations: 57.08 kB / 0.987 GB, free: 44 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.162e-05/0.8375, allocations: 20 kB / 0.987 GB, free: 24 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.8375, allocations: 0 / 0.987 GB, free: 24 kB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000153/0.8377, allocations: 93.45 kB / 0.9871 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.8377, allocations: 8 kB / 0.9871 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8377, allocations: 8.109 kB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8378, allocations: 4 kB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.8378, allocations: 19.94 kB / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8379, allocations: 0 / 0.9871 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.8379, allocations: 8 kB / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.8379, allocations: 4 kB / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.578e-05/0.838, allocations: 121.8 kB / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.8381, allocations: 0 / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.8381, allocations: 11.56 kB / 0.9873 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.8381, allocations: 4 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8381, allocations: 0 / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.8381, allocations: 4 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.8385, allocations: 177.6 kB / 0.9874 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8385, allocations: 0 / 0.9874 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.8386, allocations: 19.92 kB / 0.9874 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.8386, allocations: 4 kB / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.8386, allocations: 0 / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8386, allocations: 0 / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.8386, allocations: 4 kB / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.8389, allocations: 333.9 kB / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.839, allocations: 89.05 kB / 0.9879 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.839, allocations: 0 / 0.9879 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.8392, allocations: 16.03 kB / 0.9879 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.8392, allocations: 4 kB / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.8393, allocations: 8 kB / 0.9879 GB, free: 15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.8393, allocations: 83.59 kB / 0.988 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8393, allocations: 0 / 0.988 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003198/0.8396, allocations: 16 kB / 0.988 GB, free: 14.91 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0005668/0.8402, allocations: 0.8674 MB / 0.9888 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.8403, allocations: 43.91 kB / 0.9889 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8403, allocations: 0 / 0.9889 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.8404, allocations: 15.94 kB / 0.9889 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.8408, allocations: 8 kB / 0.9889 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.8418, allocations: 0.6864 MB / 0.9896 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.8422, allocations: 0.6887 MB / 0.9902 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.741e-05/0.8423, allocations: 12.05 kB / 0.9902 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.8423, allocations: 15.5 kB / 0.9903 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of SimCode: time 1.502e-06/0.8423, allocations: 0 / 0.9903 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.8538, allocations: 1.478 MB / 0.9917 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.854, allocations: 227.9 kB / 0.9919 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.666, allocations: 0 / 0.9919 GB, free: 10.95 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat does not exist to compare? outputFormat=mat