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.001118/0.001118, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001255/0.001255, allocations: 177.3 kB / 15.94 MB, free: 228 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.553/1.553, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.563/2.563, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005136, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.104, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001961/1.106, allocations: 0.9684 MB / 0.9818 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003944/1.11, allocations: 1.888 MB / 0.9837 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/1.11, allocations: 0 / 0.9837 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/1.111, allocations: 0 / 0.9837 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/1.111, allocations: 7.969 kB / 0.9837 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/1.111, allocations: 103.7 kB / 0.9838 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.866e-05/1.111, allocations: 31.89 kB / 0.9838 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/1.111, allocations: 0 / 0.9838 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/1.112, allocations: 23.97 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/1.112, allocations: 19.92 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/1.112, allocations: 0 / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/1.112, allocations: 107.8 kB / 0.9839 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/1.112, allocations: 7.984 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/1.112, allocations: 29.7 kB / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/1.112, allocations: 46.19 kB / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/1.112, allocations: 0 / 0.984 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.759e-06/1.112, allocations: 4 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.112, allocations: 0 / 0.984 GB, free: 3.059 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.0005219/1.113, allocations: 347.2 kB / 0.9843 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/1.113, allocations: 8.031 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/1.113, allocations: 34.56 kB / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/1.113, allocations: 15.98 kB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/1.114, allocations: 163 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.114, allocations: 0 / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/1.114, allocations: 11.95 kB / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/1.114, allocations: 72.25 kB / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.114, allocations: 0 / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/1.114, allocations: 7.984 kB / 0.9846 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.114, allocations: 0 / 0.9846 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/1.114, allocations: 15.92 kB / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/1.115, allocations: 478.8 kB / 0.9851 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/1.115, allocations: 67.66 kB / 0.9852 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/1.115, allocations: 8.062 kB / 0.9852 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/1.115, allocations: 38.56 kB / 0.9852 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/1.115, allocations: 0 / 0.9852 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0008733/1.116, allocations: 302.2 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/1.116, allocations: 110.8 kB / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.116, allocations: 94.11 kB / 0.9857 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/1.116, allocations: 33.7 kB / 0.9857 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/1.116, allocations: 88.03 kB / 0.9858 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/1.116, allocations: 27.59 kB / 0.9859 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/1.116, allocations: 0 / 0.9859 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.117, allocations: 322.8 kB / 0.9862 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.682e-05/1.117, allocations: 12 kB / 0.9862 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/1.117, allocations: 57.08 kB / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/1.117, allocations: 20 kB / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.117, allocations: 3.938 kB / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002117/1.117, allocations: 93.45 kB / 0.9863 GB, free: 344 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/1.117, allocations: 4 kB / 0.9863 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.117, allocations: 4.125 kB / 0.9863 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.117, allocations: 4 kB / 0.9864 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/1.117, allocations: 27.92 kB / 0.9864 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.117, allocations: 0 / 0.9864 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/1.117, allocations: 8 kB / 0.9864 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/1.117, allocations: 4 kB / 0.9864 GB, free: 292 kB / 0.7325 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 0.0001125/1.118, allocations: 117.8 kB / 0.9865 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/1.118, allocations: 0.6094 kB / 0.9865 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/1.118, allocations: 15.55 kB / 0.9865 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.118, allocations: 4 kB / 0.9865 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.118, allocations: 0 / 0.9865 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.118, allocations: 4 kB / 0.9865 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/1.118, allocations: 189.5 kB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.118, allocations: 0 / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/1.119, allocations: 15.94 kB / 0.9867 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/1.119, allocations: 4 kB / 0.9867 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/1.119, allocations: 3.984 kB / 0.9867 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.119, allocations: 0 / 0.9867 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.119, allocations: 4 kB / 0.9867 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/1.119, allocations: 345.4 kB / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/1.119, allocations: 85.14 kB / 0.9871 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/1.119, allocations: 3.938 kB / 0.9871 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/1.12, allocations: 8 kB / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/1.12, allocations: 11.98 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/1.12, allocations: 0 / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.567e-05/1.12, allocations: 83.23 kB / 0.9872 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.71e-07/1.12, allocations: 0 / 0.9872 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000645/1.12, allocations: 16 kB / 0.9873 GB, free: 15.29 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.0009437/1.121, allocations: 1.028 MB / 0.9883 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001918/1.122, allocations: 39.95 kB / 0.9883 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.122, allocations: 0 / 0.9883 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/1.122, allocations: 28.25 kB / 0.9883 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/1.122, allocations: 11.95 kB / 0.9883 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/1.125, allocations: 1.433 MB / 0.9897 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/1.125, allocations: 0.6926 MB / 0.9904 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001216/1.125, allocations: 8.078 kB / 0.9904 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/1.125, allocations: 11.44 kB / 0.9904 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/1.126, allocations: 4 kB / 0.9904 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/1.148, allocations: 1.45 MB / 0.9919 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003518/1.148, allocations: 233.1 kB / 0.9921 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/3.278, allocations: 0 / 0.9921 GB, free: 10.41 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