Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.89 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3269, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005392/0.3323, allocations: 3.308 MB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001054/0.3324, allocations: 43.86 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.3324, allocations: 4 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.3325, allocations: 3.938 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.3326, allocations: 11.91 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.3331, allocations: 191.3 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.744e-05/0.3332, allocations: 35.83 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.3333, allocations: 4 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.3333, allocations: 23.92 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.3334, allocations: 11.92 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.3334, allocations: 4 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.3338, allocations: 183.5 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.3339, allocations: 7.984 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.3339, allocations: 11.94 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3342, allocations: 139.5 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3342, allocations: 3.938 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3342, allocations: 4 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3342, allocations: 0 / 1.218 GB, free: 12.97 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.0005029/0.3347, allocations: 347.3 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3347, allocations: 12.03 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.3348, allocations: 0.9375 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3349, allocations: 168.3 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.335, allocations: 26.27 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.335, allocations: 384 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3352, allocations: 49.62 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3352, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3352, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.3352, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.897e-05/0.3353, allocations: 23.92 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.336, allocations: 0.5872 MB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.085e-05/0.336, allocations: 14.58 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.336, allocations: 12.92 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.3363, allocations: 344.3 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3364, allocations: 34.56 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.3364, allocations: 0 / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.3365, allocations: 41.64 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3366, allocations: 51.41 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.3367, allocations: 97.84 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3367, allocations: 29.7 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.3367, allocations: 92.08 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-06/0.3367, allocations: 3.938 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.3368, allocations: 25.78 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3369, allocations: 318.8 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.337, allocations: 4 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.337, allocations: 17.7 kB / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.337, allocations: 21.66 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.337, allocations: 4 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.693e-05/0.3371, allocations: 49.97 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3371, allocations: 4 kB / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3371, allocations: 0 / 1.22 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3372, allocations: 7.938 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.404e-05/0.3372, allocations: 4 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3372, allocations: 0 / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.3372, allocations: 0 / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3372, allocations: 7.984 kB / 1.22 GB, free: 10.22 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.195e-05/0.3373, allocations: 109.8 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3373, allocations: 11.98 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.3375, allocations: 119.8 kB / 1.22 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.658e-05/0.3376, allocations: 184.2 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.511e-05/0.3376, allocations: 176.3 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-05/0.3377, allocations: 184.2 kB / 1.221 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.338, allocations: 413.2 kB / 1.221 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-05/0.3381, allocations: 101 kB / 1.221 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.3381, allocations: 108.9 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-05/0.3382, allocations: 180.3 kB / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.251e-05/0.3383, allocations: 184.2 kB / 1.222 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.983e-05/0.3384, allocations: 180.2 kB / 1.222 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-05/0.3385, allocations: 184.2 kB / 1.222 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.3387, allocations: 315.7 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.3388, allocations: 186 kB / 1.223 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.3389, allocations: 180.2 kB / 1.223 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.339, allocations: 112.9 kB / 1.223 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.3391, allocations: 176.3 kB / 1.223 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.3392, allocations: 109 kB / 1.223 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.3392, allocations: 87.28 kB / 1.223 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3392, allocations: 0 / 1.223 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003061/0.3395, allocations: 35.88 kB / 1.223 GB, free: 6.738 MB / 0.9669 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.0003116/0.3399, allocations: 238.2 kB / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.783e-05/0.3399, allocations: 8 kB / 1.224 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.34, allocations: 128 / 1.224 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.34, allocations: 4 kB / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.3405, allocations: 459.7 kB / 1.224 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.3408, allocations: 215.6 kB / 1.224 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3411, allocations: 0.6768 MB / 1.225 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.3411, allocations: 11.44 kB / 1.225 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.3411, allocations: 0 / 1.225 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.003315/0.3445, allocations: 1.183 MB / 1.226 GB, free: 3.902 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.514580311020836]