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.001724/0.001724, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002034/0.002035, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.412/2.412, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.88 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7201/0.7221, allocations: 140.4 MB / 0.9489 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004311/0.7264, allocations: 3.353 MB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.7266, allocations: 55.64 kB / 0.9522 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.7266, allocations: 0 / 0.9522 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.7268, allocations: 3.984 kB / 0.9522 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.7269, allocations: 14.42 kB / 0.9523 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.7276, allocations: 168.6 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.7277, allocations: 57.91 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.7277, allocations: 1.5 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.7278, allocations: 16.73 kB / 0.9525 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.93e-05/0.7279, allocations: 14.2 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.7279, allocations: 1.281 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.7283, allocations: 168.4 kB / 0.9527 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.7284, allocations: 13.7 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.7284, allocations: 12.42 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.7288, allocations: 136.3 kB / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7288, allocations: 5.656 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7288, allocations: 0 / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.7288, allocations: 0 / 0.9528 GB, free: 6.355 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000446/0.7293, allocations: 351.3 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.7294, allocations: 9.219 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.7294, allocations: 2.156 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.7295, allocations: 169.8 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.7296, allocations: 27.61 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.7296, allocations: 1.75 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.7298, allocations: 50.64 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.7298, allocations: 0 / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.7298, allocations: 5.719 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.7298, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.7299, allocations: 14.27 kB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.7305, allocations: 0.5921 MB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.7306, allocations: 15.95 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.7306, allocations: 6.766 kB / 0.954 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.7308, allocations: 337.5 kB / 0.9543 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.7309, allocations: 35.66 kB / 0.9544 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.7309, allocations: 0 / 0.9544 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.731, allocations: 48.06 kB / 0.9544 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.7311, allocations: 51.41 kB / 0.9545 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.7312, allocations: 104.5 kB / 0.9546 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.7312, allocations: 25.7 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.7312, allocations: 89.09 kB / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.7312, allocations: 1.719 kB / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.7313, allocations: 16.91 kB / 0.9547 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.7313, allocations: 320.6 kB / 0.955 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.7314, allocations: 1.594 kB / 0.955 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.7314, allocations: 21.89 kB / 0.955 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.7314, allocations: 20.59 kB / 0.9551 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7314, allocations: 0 / 0.9551 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.398e-05/0.7315, allocations: 46.78 kB / 0.9551 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.7316, allocations: 9.625 kB / 0.9551 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.7316, allocations: 0 / 0.9551 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.7316, allocations: 1.375 kB / 0.9551 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.7317, allocations: 4.25 kB / 0.9551 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.7317, allocations: 5.344 kB / 0.9551 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.7317, allocations: 5.359 kB / 0.9551 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.7317, allocations: 5 kB / 0.9551 GB, free: 3.77 MB / 0.7169 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.248e-05/0.7318, allocations: 115.4 kB / 0.9552 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.7318, allocations: 9.406 kB / 0.9552 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.7319, allocations: 117.1 kB / 0.9554 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/0.732, allocations: 184.2 kB / 0.9555 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.945e-05/0.732, allocations: 182 kB / 0.9557 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/0.7321, allocations: 181.4 kB / 0.9559 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.7323, allocations: 407.5 kB / 0.9563 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.7323, allocations: 110.2 kB / 0.9564 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.7323, allocations: 110.3 kB / 0.9565 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.183e-05/0.7323, allocations: 177.5 kB / 0.9566 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.7324, allocations: 180.2 kB / 0.9568 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-05/0.7324, allocations: 185.5 kB / 0.957 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.258e-05/0.7325, allocations: 181.4 kB / 0.9572 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.515e-05/0.7326, allocations: 312.6 kB / 0.9575 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.7326, allocations: 183.3 kB / 0.9576 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.7327, allocations: 177.7 kB / 0.9578 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.7328, allocations: 111.6 kB / 0.9579 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.7329, allocations: 184.2 kB / 0.9581 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.7329, allocations: 102.5 kB / 0.9582 GB, free: 448 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.7329, allocations: 80.91 kB / 0.9583 GB, free: 372 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7329, allocations: 0 / 0.9583 GB, free: 372 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003405/0.7333, allocations: 40.11 kB / 0.9583 GB, free: 356 kB / 0.7169 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.0003716/0.7337, allocations: 233.8 kB / 0.9585 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.7338, allocations: 18.25 kB / 0.9585 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7338, allocations: 0 / 0.9585 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.7338, allocations: 1.5 kB / 0.9585 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.7344, allocations: 0.5253 MB / 0.9591 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.7347, allocations: 190.2 kB / 0.9592 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.7349, allocations: 0.6798 MB / 0.9599 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.735, allocations: 10.25 kB / 0.9599 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.735, allocations: 9 kB / 0.9599 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.735, allocations: 0 / 0.9599 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.004009/0.739, allocations: 1.189 MB / 0.9611 GB, free: 14.1 MB / 0.7325 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