Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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_9_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.006355/0.006355, allocations: 101.9 kB / 15.73 MB, free: 6 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.001507/0.001507, allocations: 195.7 kB / 16.67 MB, free: 5.926 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 63.91 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9128, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004668/0.9175, allocations: 3.273 MB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.9177, allocations: 50.91 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.9177, allocations: 4 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.9178, allocations: 5.219 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.411e-05/0.918, allocations: 20.91 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.9185, allocations: 184.4 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.203e-05/0.9186, allocations: 34.12 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.9186, allocations: 5.734 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.9187, allocations: 16.3 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.9187, allocations: 17.06 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.9188, allocations: 0 / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.9191, allocations: 170.7 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.9192, allocations: 8.938 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.9192, allocations: 17.97 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.9195, allocations: 133.5 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9195, allocations: 0 / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9195, allocations: 0 / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.9195, allocations: 4.938 kB / 1.092 GB, free: 2.906 MB / 0.8575 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.0003341/0.9199, allocations: 342.7 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.9199, allocations: 9.984 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.92, allocations: 10.84 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.081e-05/0.92, allocations: 166.3 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.9201, allocations: 28.52 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.9201, allocations: 2.062 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.9202, allocations: 42.42 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.9202, allocations: 4.781 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.9203, allocations: 0 / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.9203, allocations: 2.359 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.731e-05/0.9203, allocations: 17.2 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.9208, allocations: 0.5803 MB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.237e-05/0.9209, allocations: 21.19 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.9209, allocations: 10.39 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.921, allocations: 342.8 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.9211, allocations: 35.64 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.9211, allocations: 0.6562 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.9212, allocations: 41.25 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.9213, allocations: 53.05 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.9213, allocations: 105.9 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.9214, allocations: 30.61 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.9214, allocations: 90.45 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.9214, allocations: 1.406 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.9214, allocations: 18.45 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.9215, allocations: 316.3 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.9215, allocations: 7.594 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.9215, allocations: 19.47 kB / 1.094 GB, free: 464 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.9216, allocations: 25.67 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.9216, allocations: 0 / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.115e-05/0.9216, allocations: 50.19 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9217, allocations: 5.719 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.9217, allocations: 0.75 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9217, allocations: 1.969 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.9217, allocations: 9.438 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.9217, allocations: 4.781 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.9218, allocations: 5.594 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.9218, allocations: 1.656 kB / 1.094 GB, free: 388 kB / 0.8575 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 4.737e-05/0.9218, allocations: 120.7 kB / 1.094 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.9219, allocations: 1.766 kB / 1.094 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.922, allocations: 117 kB / 1.094 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.506e-05/0.922, allocations: 181.7 kB / 1.094 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.639e-05/0.9221, allocations: 186.9 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-05/0.9222, allocations: 184.9 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.9224, allocations: 404.3 kB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/0.9225, allocations: 103 kB / 1.095 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.9225, allocations: 110.3 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.883e-05/0.9226, allocations: 182.8 kB / 1.096 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.9226, allocations: 181.7 kB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.558e-05/0.9227, allocations: 182 kB / 1.096 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.099e-05/0.9228, allocations: 178 kB / 1.096 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.9229, allocations: 309.6 kB / 1.096 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.923, allocations: 192.2 kB / 1.097 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.9231, allocations: 179.5 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.9232, allocations: 104.8 kB / 1.097 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.9233, allocations: 185.8 kB / 1.097 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.9234, allocations: 103.4 kB / 1.097 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.9234, allocations: 90.05 kB / 1.097 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9234, allocations: 4 kB / 1.097 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003135/0.9237, allocations: 37.3 kB / 1.097 GB, free: 12.98 MB / 0.8731 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.0002947/0.924, allocations: 234.5 kB / 1.097 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.583e-05/0.9241, allocations: 15.48 kB / 1.097 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9241, allocations: 0.5625 kB / 1.097 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.9241, allocations: 0.75 kB / 1.097 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.9245, allocations: 459.6 kB / 1.098 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.9248, allocations: 192.5 kB / 1.098 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.9251, allocations: 0.6744 MB / 1.099 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.969e-05/0.9251, allocations: 5.016 kB / 1.099 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.889e-05/0.9252, allocations: 9.672 kB / 1.099 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.9252, allocations: 0.8438 kB / 1.099 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.00392/0.9291, allocations: 1.209 MB / 1.1 GB, free: 11.25 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches