Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.005107/0.005107, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001534/0.001534, allocations: 189.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.89 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2793, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005202/0.2846, allocations: 3.279 MB / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001133/0.2847, allocations: 51.86 kB / 1.245 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.2847, allocations: 0 / 1.245 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.166e-05/0.2848, allocations: 7.922 kB / 1.245 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.2849, allocations: 11.94 kB / 1.245 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.2855, allocations: 187.2 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.2856, allocations: 31.86 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.2857, allocations: 7.984 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.2857, allocations: 11.98 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.2858, allocations: 7.938 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.2858, allocations: 4 kB / 1.245 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.2862, allocations: 175.5 kB / 1.245 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.2862, allocations: 11.92 kB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.2863, allocations: 8 kB / 1.245 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.2866, allocations: 139.9 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2866, allocations: 0 / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2866, allocations: 0 / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2866, allocations: 0 / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004335/0.2871, allocations: 347.4 kB / 1.246 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2871, allocations: 12.03 kB / 1.246 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.2872, allocations: 34.69 kB / 1.246 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2872, allocations: 4.875 kB / 1.246 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2873, allocations: 164.3 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.2874, allocations: 34.27 kB / 1.246 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2874, allocations: 4.125 kB / 1.246 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.2876, allocations: 41.69 kB / 1.246 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2876, allocations: 7.984 kB / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2876, allocations: 0 / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2876, allocations: 3.984 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.2877, allocations: 11.94 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000694/0.2884, allocations: 0.5949 MB / 1.247 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.918e-05/0.2884, allocations: 14.58 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.2885, allocations: 8.844 kB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.2887, allocations: 344.5 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.2888, allocations: 30.56 kB / 1.247 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.2888, allocations: 0 / 1.247 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.2889, allocations: 37.73 kB / 1.247 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.289, allocations: 55.44 kB / 1.247 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.2891, allocations: 101.8 kB / 1.247 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2891, allocations: 29.7 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.2892, allocations: 88.08 kB / 1.247 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.2892, allocations: 4 kB / 1.247 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.2892, allocations: 21.66 kB / 1.247 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2894, allocations: 318.8 kB / 1.248 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.2894, allocations: 12 kB / 1.248 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.2894, allocations: 21.7 kB / 1.248 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.2895, allocations: 21.66 kB / 1.248 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2895, allocations: 4 kB / 1.248 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.745e-05/0.2896, allocations: 41.69 kB / 1.248 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2896, allocations: 4 kB / 1.248 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2896, allocations: 8.047 kB / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2896, allocations: 0 / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.2897, allocations: 11.94 kB / 1.248 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2897, allocations: 0 / 1.248 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.2897, allocations: 7.938 kB / 1.248 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2897, allocations: 4 kB / 1.248 GB, free: 2.562 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.2898, allocations: 114.3 kB / 1.248 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2898, allocations: 0 / 1.248 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.29, allocations: 117 kB / 1.248 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-05/0.29, allocations: 188.2 kB / 1.248 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.416e-05/0.2901, allocations: 180.2 kB / 1.248 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.636e-05/0.2902, allocations: 180.2 kB / 1.248 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.2905, allocations: 409.2 kB / 1.249 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.642e-05/0.2905, allocations: 116.9 kB / 1.249 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.2906, allocations: 104.9 kB / 1.249 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-05/0.2907, allocations: 180.3 kB / 1.249 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/0.2908, allocations: 180.2 kB / 1.249 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.207e-05/0.2908, allocations: 180.2 kB / 1.25 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.653e-05/0.2909, allocations: 176.3 kB / 1.25 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.2911, allocations: 315.7 kB / 1.25 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.2912, allocations: 190 kB / 1.25 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.2913, allocations: 180.3 kB / 1.25 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2915, allocations: 109 kB / 1.25 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.2916, allocations: 188.2 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.2916, allocations: 101.3 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.2917, allocations: 87.28 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2917, allocations: 4 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002955/0.292, allocations: 35.8 kB / 1.251 GB, free: 15.08 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005966/0.2926, allocations: 0.8632 MB / 1.252 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.2927, allocations: 24.05 kB / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2927, allocations: 0 / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.2927, allocations: 3.938 kB / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.2932, allocations: 459.8 kB / 1.252 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2943, allocations: 1.328 MB / 1.253 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2946, allocations: 0.6768 MB / 1.254 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.43e-05/0.2947, allocations: 6.25 kB / 1.254 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.2947, allocations: 15.38 kB / 1.254 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2947, allocations: 0 / 1.254 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.321, allocations: 2.173 MB / 1.256 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.836, allocations: 0.875 kB / 1.256 GB, free: 9.602 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches