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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001774/0.001774, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.581/2.581, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 68.72 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.291, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00518/0.2962, allocations: 3.287 MB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.2963, allocations: 47.86 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.2964, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.076e-05/0.2965, allocations: 7.922 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.2966, allocations: 7.938 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.2972, allocations: 187.3 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.2973, allocations: 31.86 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.133e-05/0.2974, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.2974, allocations: 23.97 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.2975, allocations: 7.938 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2975, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000377/0.2979, allocations: 179.5 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.298, allocations: 11.98 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.298, allocations: 11.94 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.2983, allocations: 136 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2983, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2983, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2983, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 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.0003875/0.2987, allocations: 339.5 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2987, allocations: 12.61 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.2988, allocations: 4.938 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2989, allocations: 176.2 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.299, allocations: 30.27 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.299, allocations: 4.375 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2991, allocations: 45.62 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.2991, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2992, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.2992, allocations: 0 / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.2992, allocations: 19.98 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.2999, allocations: 0.5794 MB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.3, allocations: 22.58 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.3, allocations: 8.859 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.3002, allocations: 340.4 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3003, allocations: 30.56 kB / 1.07 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.3003, allocations: 4 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.3004, allocations: 37.7 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3004, allocations: 55.34 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.3005, allocations: 101.8 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3006, allocations: 25.7 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.3006, allocations: 88.05 kB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.3006, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.3007, allocations: 21.61 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3008, allocations: 330.8 kB / 1.07 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.3008, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.3008, allocations: 13.72 kB / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.3009, allocations: 25.7 kB / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3009, allocations: 0 / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.151e-05/0.3009, allocations: 49.62 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.301, allocations: 8.062 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.301, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.301, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.301, allocations: 7.938 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3011, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.3011, allocations: 7.938 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3011, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8419 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 6.491e-05/0.3012, allocations: 113.7 kB / 1.07 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.3012, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.3013, allocations: 125.2 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-05/0.3014, allocations: 180.2 kB / 1.071 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-05/0.3015, allocations: 176.3 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.76e-05/0.3016, allocations: 184.2 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.3019, allocations: 413.1 kB / 1.071 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.3019, allocations: 105.1 kB / 1.072 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.302, allocations: 112.9 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.342e-05/0.3021, allocations: 176.3 kB / 1.072 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.3021, allocations: 180.3 kB / 1.072 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.66e-05/0.3022, allocations: 184.2 kB / 1.072 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.813e-05/0.3023, allocations: 188.2 kB / 1.072 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.3025, allocations: 311.7 kB / 1.073 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.3025, allocations: 182 kB / 1.073 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.3026, allocations: 184.2 kB / 1.073 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3028, allocations: 105 kB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.3028, allocations: 184.2 kB / 1.073 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.3029, allocations: 105 kB / 1.073 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.3029, allocations: 87.27 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3029, allocations: 0 / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003314/0.3033, allocations: 36 kB / 1.074 GB, free: 4.871 MB / 0.8419 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.0002581/0.3036, allocations: 238.9 kB / 1.074 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.3036, allocations: 11.94 kB / 1.074 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3036, allocations: 0 / 1.074 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.3036, allocations: 0 / 1.074 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.3041, allocations: 469.9 kB / 1.074 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.3044, allocations: 211.6 kB / 1.074 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3047, allocations: 0.6806 MB / 1.075 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.3047, allocations: 7.438 kB / 1.075 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of SimCode: time 1.833e-06/0.3047, allocations: 4 kB / 1.075 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of Templates: time 0.002582/0.3073, allocations: 1.186 MB / 1.076 GB, free: 2.02 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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 & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/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