Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001858/0.001858, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002449/0.002449, allocations: 219.5 kB / 23.04 MB, free: 4.844 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.085/3.085, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [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.002209/0.002209, allocations: 70.73 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3367, allocations: 176.1 MB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01718/0.3539, allocations: 11.96 MB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003039/0.3569, allocations: 2.414 MB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.357, allocations: 0 / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3572, allocations: 43.67 kB / 1.341 GB, free: 2.414 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.3575, allocations: 95.38 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3587, allocations: 0.5339 MB / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.359, allocations: 231.9 kB / 1.342 GB, free: 1.562 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.3591, allocations: 9.75 kB / 1.342 GB, free: 1.547 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007751/0.3668, allocations: 3.583 MB / 1.346 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.367, allocations: 91.58 kB / 1.346 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.367, allocations: 8 kB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.3694, allocations: 1.027 MB / 1.347 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.3694, allocations: 35.83 kB / 1.347 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.3695, allocations: 75.72 kB / 1.347 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.3702, allocations: 362.8 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3702, allocations: 4 kB / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3702, allocations: 0 / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3702, allocations: 0 / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007745/0.371, allocations: 449.4 kB / 1.348 GB, free: 11.88 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.371, allocations: 12.03 kB / 1.348 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3712, allocations: 20.84 kB / 1.348 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3715, allocations: 158.3 kB / 1.348 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3715, allocations: 12.7 kB / 1.348 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.3715, allocations: 20.31 kB / 1.348 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.372, allocations: 495.4 kB / 1.348 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3721, allocations: 3.938 kB / 1.348 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.3721, allocations: 4 kB / 1.348 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.3721, allocations: 12 kB / 1.348 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.3726, allocations: 419.4 kB / 1.349 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3737, allocations: 0.7896 MB / 1.349 GB, free: 9.816 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.3741, allocations: 149.9 kB / 1.35 GB, free: 9.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.3741, allocations: 54.62 kB / 1.35 GB, free: 9.609 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007728/0.3749, allocations: 459.8 kB / 1.35 GB, free: 9.141 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.375, allocations: 42.56 kB / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.375, allocations: 0 / 1.35 GB, free: 9.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.000342/0.3753, allocations: 141.5 kB / 1.35 GB, free: 8.945 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3753, allocations: 55.41 kB / 1.35 GB, free: 8.879 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3755, allocations: 168.2 kB / 1.351 GB, free: 8.707 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3755, allocations: 25.7 kB / 1.351 GB, free: 8.676 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.3756, allocations: 148.1 kB / 1.351 GB, free: 8.527 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.3757, allocations: 59.52 kB / 1.351 GB, free: 8.469 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.3757, allocations: 53.66 kB / 1.351 GB, free: 8.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3759, allocations: 326.8 kB / 1.351 GB, free: 8.082 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.376, allocations: 39.97 kB / 1.351 GB, free: 8.043 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3761, allocations: 143.6 kB / 1.351 GB, free: 7.855 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.3764, allocations: 189.5 kB / 1.351 GB, free: 7.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3764, allocations: 0 / 1.351 GB, free: 7.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003493/0.3767, allocations: 224.2 kB / 1.352 GB, free: 7.398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3767, allocations: 4 kB / 1.352 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3768, allocations: 4 kB / 1.352 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3768, allocations: 8 kB / 1.352 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.377, allocations: 63.84 kB / 1.352 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.377, allocations: 7.938 kB / 1.352 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3771, allocations: 27.78 kB / 1.352 GB, free: 7.285 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3771, allocations: 16 kB / 1.352 GB, free: 7.27 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001232/0.3772, allocations: 134.5 kB / 1.352 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.3773, allocations: 15.91 kB / 1.352 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.3776, allocations: 154.2 kB / 1.352 GB, free: 6.957 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3776, allocations: 4 kB / 1.352 GB, free: 6.953 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3776, allocations: 3.938 kB / 1.352 GB, free: 6.949 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3776, allocations: 0 / 1.352 GB, free: 6.949 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.3778, allocations: 157.2 kB / 1.352 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3778, allocations: 3.938 kB / 1.352 GB, free: 6.762 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.378, allocations: 35.92 kB / 1.352 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.378, allocations: 0 / 1.352 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.378, allocations: 4 kB / 1.352 GB, free: 6.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.378, allocations: 4 kB / 1.352 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.378, allocations: 0 / 1.352 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3783, allocations: 215.4 kB / 1.352 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.3783, allocations: 31.81 kB / 1.353 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3784, allocations: 8 kB / 1.353 GB, free: 6.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.3786, allocations: 11.98 kB / 1.353 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.3786, allocations: 15.97 kB / 1.353 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.3786, allocations: 11.94 kB / 1.353 GB, free: 6.414 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.94e-05/0.3787, allocations: 112.9 kB / 1.353 GB, free: 6.305 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3787, allocations: 4 kB / 1.353 GB, free: 6.301 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003906/0.3791, allocations: 79.83 kB / 1.353 GB, free: 6.223 MB / 1.045 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003168/0.3794, allocations: 194.8 kB / 1.353 GB, free: 6.023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3796, allocations: 117.9 kB / 1.353 GB, free: 5.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3796, allocations: 4 kB / 1.353 GB, free: 5.906 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/0.3797, allocations: 35.92 kB / 1.353 GB, free: 5.871 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3801, allocations: 38.95 kB / 1.353 GB, free: 5.836 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.3808, allocations: 377.8 kB / 1.353 GB, free: 5.434 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.3809, allocations: 110.5 kB / 1.354 GB, free: 5.305 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.3809, allocations: 27.44 kB / 1.354 GB, free: 5.277 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3809, allocations: 0 / 1.354 GB, free: 5.277 MB / 1.045 GB Notification: Performance of Templates: time 0.005869/0.3868, allocations: 3.382 MB / 1.357 GB, free: 1.91 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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: 11.410393676022068]