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.001166/0.001166, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001761/0.002926, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001152/0.001152, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002739, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08938/1.095, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.83/1.83, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4759/2.306, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.104e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01642/0.01643, allocations: 13.11 MB / 0.7422 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.01843, allocations: 2.813 MB / 0.7449 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.01849, allocations: 0.9375 kB / 0.7449 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.01864, allocations: 43.69 kB / 0.745 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.01881, allocations: 105 kB / 0.7451 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.01946, allocations: 0.5261 MB / 0.7456 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.01964, allocations: 240.9 kB / 0.7458 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.01968, allocations: 6.469 kB / 0.7458 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00597/0.02565, allocations: 3.049 MB / 0.7488 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.02578, allocations: 77.3 kB / 0.7489 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.0258, allocations: 8 kB / 0.7489 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.02726, allocations: 0.9867 MB / 0.7498 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.0273, allocations: 25.59 kB / 0.7499 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.109e-05/0.02735, allocations: 51.88 kB / 0.7499 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.02775, allocations: 327 kB / 0.7502 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.02777, allocations: 0 / 0.7502 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/0.02777, allocations: 0 / 0.7502 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.02778, allocations: 0.5 kB / 0.7502 GB, free: 15.23 MB / 0.7292 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.000624/0.0284, allocations: 0.5521 MB / 0.7508 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.02844, allocations: 8.812 kB / 0.7508 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.02855, allocations: 40.78 kB / 0.7508 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.02871, allocations: 158.7 kB / 0.751 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.02872, allocations: 16.69 kB / 0.751 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.02874, allocations: 20.88 kB / 0.751 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.02898, allocations: 410.7 kB / 0.7514 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.02899, allocations: 5.219 kB / 0.7514 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.029, allocations: 8.125 kB / 0.7514 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.02903, allocations: 12 kB / 0.7514 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.02929, allocations: 240.8 kB / 0.7516 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.02993, allocations: 0.7041 MB / 0.7523 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.0301, allocations: 157 kB / 0.7525 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.03014, allocations: 35.91 kB / 0.7525 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/0.03056, allocations: 488.6 kB / 0.753 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.03058, allocations: 38.56 kB / 0.753 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.03058, allocations: 0 / 0.753 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001543/0.03074, allocations: 137.5 kB / 0.7532 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.03076, allocations: 51.41 kB / 0.7532 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.03084, allocations: 165.5 kB / 0.7534 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.03086, allocations: 33.7 kB / 0.7534 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.03092, allocations: 149.6 kB / 0.7535 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.03094, allocations: 51.58 kB / 0.7536 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.03099, allocations: 53.64 kB / 0.7536 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.03107, allocations: 330.7 kB / 0.754 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.0311, allocations: 23.31 kB / 0.754 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.03116, allocations: 113.7 kB / 0.7541 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.03128, allocations: 194.6 kB / 0.7543 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.03129, allocations: 4 kB / 0.7543 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001412/0.03143, allocations: 159.4 kB / 0.7544 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.03144, allocations: 9.125 kB / 0.7544 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.03145, allocations: 7.938 kB / 0.7544 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.03146, allocations: 4 kB / 0.7544 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.03161, allocations: 72.92 kB / 0.7545 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.03161, allocations: 4 kB / 0.7545 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.03167, allocations: 28.56 kB / 0.7545 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.03168, allocations: 12 kB / 0.7546 GB, free: 10.45 MB / 0.7292 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 6.758e-05/0.03175, allocations: 135.9 kB / 0.7547 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.03177, allocations: 15.98 kB / 0.7547 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.03191, allocations: 116.1 kB / 0.7548 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.03192, allocations: 7.984 kB / 0.7548 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.03192, allocations: 0 / 0.7548 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.03193, allocations: 0 / 0.7548 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.03205, allocations: 109.8 kB / 0.7549 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.03205, allocations: 3.938 kB / 0.7549 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.03216, allocations: 32.84 kB / 0.755 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.03221, allocations: 35.88 kB / 0.755 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.03221, allocations: 0.5938 kB / 0.755 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.03222, allocations: 1.438 kB / 0.755 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.03222, allocations: 7.984 kB / 0.755 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.03222, allocations: 0 / 0.755 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.03234, allocations: 237.9 kB / 0.7552 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.03236, allocations: 5.625 kB / 0.7552 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.03243, allocations: 11.98 kB / 0.7552 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.03245, allocations: 3.984 kB / 0.7553 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.03246, allocations: 8 kB / 0.7553 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.03249, allocations: 39.31 kB / 0.7553 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.03249, allocations: 4 kB / 0.7553 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002052/0.03269, allocations: 75.88 kB / 0.7554 GB, free: 9.574 MB / 0.7292 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.0002225/0.03291, allocations: 172.1 kB / 0.7555 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.03302, allocations: 99.44 kB / 0.7556 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.03303, allocations: 7.984 kB / 0.7556 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.03306, allocations: 32.78 kB / 0.7557 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.03325, allocations: 68.83 kB / 0.7557 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.03597, allocations: 334.8 kB / 0.7561 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.036, allocations: 71.98 kB / 0.7561 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.676e-05/0.0361, allocations: 53.2 kB / 0.7562 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.03624, allocations: 125.3 kB / 0.7563 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of SimCode: time 7.61e-07/0.03624, allocations: 0 / 0.7563 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.005446/0.04169, allocations: 3.898 MB / 0.7601 GB, free: 4.727 MB / 0.7292 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9443278685212135]