Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001878/0.001878, allocations: 113 kB / 17.6 MB, free: 4.684 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.002121/0.002121, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.438/1.438, allocations: 225.6 MB / 249.4 MB, free: 3.125 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.638/2.638, allocations: 443.4 MB / 0.7304 GB, free: 13.86 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.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_10_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_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.89 kB / 1.059 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 160.7 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01846/0.3472, allocations: 13.08 MB / 1.229 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.3505, allocations: 2.679 MB / 1.232 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.3506, allocations: 4 kB / 1.232 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.3509, allocations: 51.67 kB / 1.232 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3512, allocations: 99.3 kB / 1.232 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3524, allocations: 0.5172 MB / 1.232 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.3527, allocations: 231.9 kB / 1.232 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.3528, allocations: 13.55 kB / 1.232 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008451/0.3612, allocations: 3.587 MB / 1.236 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3614, allocations: 87.66 kB / 1.236 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.3614, allocations: 8 kB / 1.236 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.3639, allocations: 1.084 MB / 1.237 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.364, allocations: 39.83 kB / 1.237 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.3641, allocations: 87.64 kB / 1.237 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.3647, allocations: 370.8 kB / 1.238 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3648, allocations: 0 / 1.238 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3648, allocations: 0 / 1.238 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.3648, allocations: 0 / 1.238 GB, free: 9.254 MB / 0.9825 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.0008191/0.3656, allocations: 0.5064 MB / 1.238 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3656, allocations: 12.02 kB / 1.238 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.3658, allocations: 20.84 kB / 1.238 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.3661, allocations: 220.1 kB / 1.238 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3661, allocations: 16.7 kB / 1.238 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3662, allocations: 16.38 kB / 1.238 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.3666, allocations: 240.2 kB / 1.239 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3666, allocations: 3.984 kB / 1.239 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.3666, allocations: 15.98 kB / 1.239 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.3666, allocations: 8 kB / 1.239 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005423/0.3672, allocations: 427.5 kB / 1.239 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.3684, allocations: 0.9528 MB / 1.24 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.3687, allocations: 155.7 kB / 1.24 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3688, allocations: 60.81 kB / 1.24 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.3704, allocations: 1.833 MB / 1.242 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.3704, allocations: 38.56 kB / 1.242 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.3704, allocations: 0 / 1.242 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003681/0.3708, allocations: 145.6 kB / 1.242 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3708, allocations: 59.28 kB / 1.242 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.371, allocations: 172.9 kB / 1.242 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.371, allocations: 33.69 kB / 1.242 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.3711, allocations: 144.1 kB / 1.243 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.3712, allocations: 51.53 kB / 1.243 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.3713, allocations: 61.64 kB / 1.243 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3714, allocations: 322.8 kB / 1.243 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.3715, allocations: 35.98 kB / 1.243 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.3716, allocations: 143.2 kB / 1.243 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.3719, allocations: 199 kB / 1.243 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3719, allocations: 0 / 1.243 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003456/0.3722, allocations: 215.2 kB / 1.243 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3723, allocations: 12.09 kB / 1.243 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3723, allocations: 4 kB / 1.244 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.3723, allocations: 4 kB / 1.244 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.3725, allocations: 55.84 kB / 1.244 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3725, allocations: 11.94 kB / 1.244 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3726, allocations: 23.84 kB / 1.244 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3726, allocations: 12 kB / 1.244 GB, free: 2.359 MB / 0.9825 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.0001237/0.3727, allocations: 137.7 kB / 1.244 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.3728, allocations: 19.89 kB / 1.244 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.3731, allocations: 154.9 kB / 1.244 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.3731, allocations: 7.938 kB / 1.244 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3731, allocations: 3.938 kB / 1.244 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3731, allocations: 0 / 1.244 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.3734, allocations: 217.5 kB / 1.244 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3734, allocations: 0 / 1.244 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.827e-05/0.3735, allocations: 35.92 kB / 1.244 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3735, allocations: 0 / 1.244 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3735, allocations: 4 kB / 1.244 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3735, allocations: 3.938 kB / 1.244 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3735, allocations: 4 kB / 1.244 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3738, allocations: 213 kB / 1.244 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3739, allocations: 120.8 kB / 1.244 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.3739, allocations: 4 kB / 1.244 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.3741, allocations: 19.92 kB / 1.245 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.3742, allocations: 7.984 kB / 1.245 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.3742, allocations: 12 kB / 1.245 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.607e-05/0.3743, allocations: 128.9 kB / 1.245 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3743, allocations: 0 / 1.245 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003993/0.3747, allocations: 75.88 kB / 1.245 GB, free: 1.117 MB / 0.9825 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.0003295/0.375, allocations: 190.9 kB / 1.245 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.3753, allocations: 121.2 kB / 1.245 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3753, allocations: 0 / 1.245 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.3753, allocations: 35.92 kB / 1.245 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.3758, allocations: 60.88 kB / 1.245 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.3765, allocations: 354.4 kB / 1.245 GB, free: 344 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3768, allocations: 0.7128 MB / 1.246 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.377, allocations: 53.67 kB / 1.246 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.3771, allocations: 23.44 kB / 1.246 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.3771, allocations: 0 / 1.246 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.008013/0.3851, allocations: 3.73 MB / 1.25 GB, free: 11.83 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.995391984470189]