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.001424/0.001424, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001388/0.001388, allocations: 186 kB / 20.78 MB, free: 1.547 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.474/1.474, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.621/2.621, allocations: 443.4 MB / 0.7304 GB, free: 13.91 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.002011/0.002011, allocations: 67.89 kB / 1.059 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3456, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00526/0.3509, allocations: 3.337 MB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.351, allocations: 55.84 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.351, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.3511, allocations: 3.938 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.3512, allocations: 11.92 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.3517, allocations: 195.2 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.3518, allocations: 31.86 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.3518, allocations: 4 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.3519, allocations: 15.97 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.3519, allocations: 11.94 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.352, allocations: 0 / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.3523, allocations: 187.5 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.3524, allocations: 7.938 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.3524, allocations: 11.98 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.3527, allocations: 139.6 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3527, allocations: 4 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3527, allocations: 0 / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3527, allocations: 0 / 1.22 GB, free: 11.34 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.0004396/0.3531, allocations: 347.3 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3532, allocations: 8.031 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.3532, allocations: 4.938 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3533, allocations: 164.3 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.043e-05/0.3534, allocations: 30.27 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.3534, allocations: 4.375 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3535, allocations: 45.61 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3535, allocations: 4 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3536, allocations: 4 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3536, allocations: 4 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.455e-05/0.3536, allocations: 15.92 kB / 1.221 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.3543, allocations: 0.5872 MB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.3544, allocations: 22.52 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.3544, allocations: 4.859 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.3547, allocations: 340.5 kB / 1.222 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.3547, allocations: 38.56 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.3547, allocations: 0 / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001816/0.3549, allocations: 41.62 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.355, allocations: 51.41 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3551, allocations: 101.9 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3551, allocations: 25.7 kB / 1.222 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.3552, allocations: 88.08 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.3552, allocations: 7.938 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.3553, allocations: 21.67 kB / 1.222 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3554, allocations: 314.8 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.3554, allocations: 8.109 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.3555, allocations: 17.91 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.3555, allocations: 21.66 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3555, allocations: 0 / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.036e-05/0.3556, allocations: 45.78 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3556, allocations: 8 kB / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3556, allocations: 11.98 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3556, allocations: 0 / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.3557, allocations: 4 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3557, allocations: 0 / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.3557, allocations: 7.984 kB / 1.222 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3557, allocations: 0 / 1.222 GB, free: 8.594 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 9.072e-05/0.3558, allocations: 117.8 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.3558, allocations: 0 / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.356, allocations: 121 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/0.3561, allocations: 188.2 kB / 1.223 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.331e-05/0.3562, allocations: 180.3 kB / 1.223 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.804e-05/0.3563, allocations: 184.2 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.3566, allocations: 401.2 kB / 1.223 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.955e-05/0.3566, allocations: 113 kB / 1.224 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.3567, allocations: 112.8 kB / 1.224 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.319e-05/0.3567, allocations: 176.3 kB / 1.224 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/0.3568, allocations: 184.2 kB / 1.224 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.413e-05/0.3569, allocations: 180.3 kB / 1.224 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.151e-05/0.357, allocations: 180.2 kB / 1.224 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3572, allocations: 315.7 kB / 1.225 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.3573, allocations: 182 kB / 1.225 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3574, allocations: 180.3 kB / 1.225 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.3576, allocations: 116.9 kB / 1.225 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.3577, allocations: 184.3 kB / 1.225 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.3577, allocations: 105 kB / 1.225 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.3578, allocations: 79.28 kB / 1.225 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3578, allocations: 0 / 1.225 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002995/0.3581, allocations: 39.86 kB / 1.226 GB, free: 5.105 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.0003454/0.3584, allocations: 238.2 kB / 1.226 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.3585, allocations: 8 kB / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3585, allocations: 0 / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.788e-06/0.3585, allocations: 4 kB / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.359, allocations: 459.8 kB / 1.226 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.3594, allocations: 189.9 kB / 1.226 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3597, allocations: 0.6768 MB / 1.227 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.372e-05/0.3597, allocations: 13.41 kB / 1.227 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.3597, allocations: 7.438 kB / 1.227 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3597, allocations: 0 / 1.227 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of Templates: time 0.004011/0.3637, allocations: 1.216 MB / 1.228 GB, free: 2.297 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.195157242007554]