Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 110.3 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00243/0.00243, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.295/3.295, allocations: 0.4899 GB / 0.7915 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 75.86 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4146, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005598/0.4202, allocations: 3.372 MB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.4203, allocations: 51.86 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.4203, allocations: 0 / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.4204, allocations: 0 / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.4205, allocations: 19.91 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.4211, allocations: 190.6 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.4212, allocations: 39.84 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.4213, allocations: 4 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.4213, allocations: 19.91 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.4214, allocations: 8 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.4214, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.4218, allocations: 187.5 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.4218, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.4219, allocations: 7.938 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.4222, allocations: 139.6 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4222, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4222, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.4222, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 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.0005134/0.4227, allocations: 351.3 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4227, allocations: 11.98 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.4228, allocations: 8.875 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.4229, allocations: 164.4 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.423, allocations: 26.27 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.423, allocations: 4.375 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.4232, allocations: 53.55 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4232, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4232, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.4232, allocations: 4 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.232e-05/0.4233, allocations: 15.98 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.4241, allocations: 0.5755 MB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.035e-05/0.4241, allocations: 30.52 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.4242, allocations: 4.859 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/0.4245, allocations: 336.5 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.4245, allocations: 38.55 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4245, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000191/0.4247, allocations: 41.64 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.4247, allocations: 51.41 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4249, allocations: 106 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.4249, allocations: 25.7 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.425, allocations: 95.95 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.425, allocations: 7.938 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.425, allocations: 13.72 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.4252, allocations: 318.8 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.4252, allocations: 7.984 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.4252, allocations: 13.72 kB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.386e-05/0.4253, allocations: 25.72 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4253, allocations: 4 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.991e-05/0.4254, allocations: 49.62 kB / 1.327 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4254, allocations: 10.19 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4254, allocations: 0 / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4254, allocations: 0 / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.4255, allocations: 4 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4255, allocations: 4.062 kB / 1.327 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.4255, allocations: 11.94 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4255, allocations: 0 / 1.328 GB, free: 12.04 MB / 1.029 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 0.0001296/0.4257, allocations: 117.8 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.4257, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.4258, allocations: 120 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/0.4259, allocations: 184.2 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/0.426, allocations: 180.2 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001083/0.4262, allocations: 184.3 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.4265, allocations: 413.1 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.815e-05/0.4265, allocations: 108.9 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.4266, allocations: 105 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.4267, allocations: 188.2 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.4268, allocations: 176.3 kB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-05/0.4269, allocations: 184.2 kB / 1.329 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.627e-05/0.427, allocations: 176.3 kB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.4272, allocations: 315.7 kB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.4274, allocations: 178.1 kB / 1.33 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4275, allocations: 184.2 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4277, allocations: 109 kB / 1.33 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.4278, allocations: 180.3 kB / 1.33 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.4279, allocations: 108.9 kB / 1.331 GB, free: 8.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.796e-05/0.4279, allocations: 83.28 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4279, allocations: 3.938 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003724/0.4283, allocations: 39.86 kB / 1.331 GB, free: 8.551 MB / 1.029 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.0003945/0.4287, allocations: 238.4 kB / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.4288, allocations: 11.94 kB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4288, allocations: 0 / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.4288, allocations: 0 / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.4294, allocations: 461.8 kB / 1.331 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.4297, allocations: 193.7 kB / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.4301, allocations: 0.6768 MB / 1.332 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.159e-05/0.4301, allocations: 4 kB / 1.332 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.4302, allocations: 7.438 kB / 1.332 GB, free: 6.91 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4302, allocations: 0 / 1.332 GB, free: 6.91 MB / 1.029 GB Notification: Performance of Templates: time 0.004564/0.4347, allocations: 1.207 MB / 1.333 GB, free: 5.75 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.280517192091793]