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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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.008025/0.008025, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001969/0.001969, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.556/2.556, allocations: 390.3 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 69.44 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3091, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005498/0.3146, allocations: 3.282 MB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.3147, allocations: 51.84 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.3148, allocations: 0 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.3149, allocations: 7.938 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.315, allocations: 11.91 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.3157, allocations: 183.2 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3158, allocations: 39.83 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.3158, allocations: 4 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.3159, allocations: 8 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.316, allocations: 19.91 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.316, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.3164, allocations: 175.5 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.3164, allocations: 8 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.3165, allocations: 23.84 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3168, allocations: 126.6 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3168, allocations: 4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3168, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3168, allocations: 0 / 1.091 GB, free: 14.07 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.0004917/0.3173, allocations: 348.3 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3174, allocations: 12.03 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.3174, allocations: 30.75 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.3175, allocations: 0.9375 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3176, allocations: 184.2 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.3177, allocations: 26.27 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.3177, allocations: 4.125 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3179, allocations: 45.69 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3179, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3179, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.3179, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.48e-05/0.318, allocations: 15.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.3187, allocations: 0.5872 MB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.086e-05/0.3188, allocations: 14.58 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.3188, allocations: 8.922 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.3191, allocations: 344.4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3191, allocations: 30.56 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.704e-06/0.3191, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.00017/0.3193, allocations: 45.62 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3193, allocations: 51.41 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.3194, allocations: 105.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3195, allocations: 25.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.3195, allocations: 84.05 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.3195, allocations: 7.938 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3196, allocations: 17.62 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3197, allocations: 322.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.3197, allocations: 12.12 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.3198, allocations: 13.72 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.3198, allocations: 25.66 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3198, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.18e-05/0.3199, allocations: 45.62 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3199, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3199, allocations: 8.062 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.32, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.32, allocations: 7.984 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.32, allocations: 3.938 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.3201, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3201, allocations: 11.92 kB / 1.094 GB, free: 11.27 MB / 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 8.528e-05/0.3202, allocations: 109.8 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.3202, allocations: 4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.3203, allocations: 129 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.718e-05/0.3204, allocations: 180.2 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.816e-05/0.3205, allocations: 176.3 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-05/0.3206, allocations: 176.3 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.3208, allocations: 413.2 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.558e-05/0.3209, allocations: 109 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.3209, allocations: 108.9 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.784e-05/0.321, allocations: 180.5 kB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-05/0.3211, allocations: 176.3 kB / 1.095 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.026e-05/0.3211, allocations: 180.2 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.76e-05/0.3212, allocations: 184.3 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3214, allocations: 319.6 kB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.3215, allocations: 182 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.227e-05/0.3216, allocations: 180.3 kB / 1.096 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3217, allocations: 113 kB / 1.096 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.3218, allocations: 184.2 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.3219, allocations: 101 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.911e-05/0.3219, allocations: 91.27 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3219, allocations: 0 / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003209/0.3223, allocations: 31.94 kB / 1.097 GB, free: 7.793 MB / 0.8575 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.0006135/0.3229, allocations: 0.8691 MB / 1.098 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.323, allocations: 16 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.323, allocations: 0 / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.323, allocations: 0 / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3235, allocations: 461 kB / 1.098 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3246, allocations: 1.333 MB / 1.099 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3249, allocations: 0.6768 MB / 1.1 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.114e-05/0.325, allocations: 8 kB / 1.1 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.325, allocations: 10.39 kB / 1.1 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.325, allocations: 0 / 1.1 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.3458, allocations: 2.173 MB / 1.102 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.154, allocations: 11.69 kB / 1.102 GB, free: 2.301 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > 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/jenkins1/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