Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_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.001127/0.001127, 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.001063/0.001063, 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.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6653 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.7877, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001089/0.7888, allocations: 0.9738 MB / 0.9545 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.7911, allocations: 1.886 MB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.7911, allocations: 0 / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.7911, allocations: 3.938 kB / 0.9564 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.7912, allocations: 5.062 kB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.7916, allocations: 111.8 kB / 0.9565 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.7916, allocations: 26.38 kB / 0.9565 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.7917, allocations: 5.266 kB / 0.9565 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.7918, allocations: 12.69 kB / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.7919, allocations: 22.53 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.7919, allocations: 2.125 kB / 0.9566 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.7922, allocations: 107.9 kB / 0.9567 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.7922, allocations: 13.41 kB / 0.9567 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.7922, allocations: 29.89 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.7924, allocations: 41.11 kB / 0.9567 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.7924, allocations: 0 / 0.9567 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7924, allocations: 4 kB / 0.9567 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7924, allocations: 0 / 0.9567 GB, free: 5.57 MB / 0.7169 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.0003121/0.7927, allocations: 348.9 kB / 0.9571 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.7928, allocations: 8.438 kB / 0.9571 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.7928, allocations: 36.97 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.793, allocations: 12.48 kB / 0.9571 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.7931, allocations: 160.2 kB / 0.9573 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.7931, allocations: 5.312 kB / 0.9573 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.7932, allocations: 7.938 kB / 0.9573 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.7933, allocations: 73.27 kB / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7933, allocations: 0 / 0.9574 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.7933, allocations: 9.172 kB / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7933, allocations: 1.5 kB / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.7934, allocations: 13.53 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.7939, allocations: 479.8 kB / 0.9579 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.794, allocations: 69.41 kB / 0.9579 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.794, allocations: 8.922 kB / 0.9579 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.794, allocations: 32.84 kB / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.7941, allocations: 0 / 0.958 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005507/0.7946, allocations: 302.7 kB / 0.9582 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.7947, allocations: 108.2 kB / 0.9583 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.77e-05/0.7947, allocations: 106.4 kB / 0.9585 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.7947, allocations: 27.17 kB / 0.9585 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.7948, allocations: 80.14 kB / 0.9586 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.7948, allocations: 30.67 kB / 0.9586 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.7948, allocations: 5.125 kB / 0.9586 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.7949, allocations: 312 kB / 0.9589 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.7949, allocations: 19.36 kB / 0.9589 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.7949, allocations: 52.66 kB / 0.959 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.795, allocations: 23.42 kB / 0.959 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.795, allocations: 0 / 0.959 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001183/0.7951, allocations: 101.8 kB / 0.9591 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7951, allocations: 5.75 kB / 0.9591 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7951, allocations: 3.844 kB / 0.9591 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7952, allocations: 0 / 0.9591 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.7953, allocations: 20.12 kB / 0.9591 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.7953, allocations: 6.359 kB / 0.9591 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.7953, allocations: 5.719 kB / 0.9591 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.7953, allocations: 4.5 kB / 0.9591 GB, free: 3.066 MB / 0.7169 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 6.279e-05/0.7954, allocations: 115.8 kB / 0.9592 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.7955, allocations: 9.766 kB / 0.9592 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.7955, allocations: 7.562 kB / 0.9592 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.7955, allocations: 1.281 kB / 0.9592 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7955, allocations: 5.531 kB / 0.9593 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.7955, allocations: 1.469 kB / 0.9593 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.7959, allocations: 177.4 kB / 0.9594 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.7959, allocations: 5.219 kB / 0.9594 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.796, allocations: 16.83 kB / 0.9594 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.796, allocations: 5.359 kB / 0.9594 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.796, allocations: 5.625 kB / 0.9595 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.796, allocations: 1.375 kB / 0.9595 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.796, allocations: 5.344 kB / 0.9595 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.7962, allocations: 356.9 kB / 0.9598 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.7963, allocations: 79.77 kB / 0.9599 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.7963, allocations: 13.22 kB / 0.9599 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.7965, allocations: 2.406 kB / 0.9599 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.7965, allocations: 2.656 kB / 0.9599 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.7965, allocations: 3.062 kB / 0.9599 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.724e-05/0.7965, allocations: 90.41 kB / 0.96 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7965, allocations: 0 / 0.96 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005445/0.7971, allocations: 10.62 kB / 0.96 GB, free: 2.164 MB / 0.7169 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.0003836/0.7975, allocations: 1.024 MB / 0.961 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.7976, allocations: 49.89 kB / 0.961 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7976, allocations: 0 / 0.961 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.7976, allocations: 20.59 kB / 0.9611 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.7979, allocations: 10.83 kB / 0.9611 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.799, allocations: 1.442 MB / 0.9625 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.7993, allocations: 0.6833 MB / 0.9631 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.99e-05/0.7994, allocations: 15.17 kB / 0.9632 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.7994, allocations: 16.22 kB / 0.9632 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7994, allocations: 0 / 0.9632 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.8112, allocations: 1.457 MB / 0.9646 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.8115, allocations: 222.1 kB / 0.9648 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.549, allocations: 5.703 kB / 0.9648 GB, free: 14.13 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat does not exist to compare? outputFormat=mat