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.001552/0.001552, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.001695/0.001695, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.913/2.913, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.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.00209/0.00209, allocations: 78.39 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7891/0.7912, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01289/0.8041, allocations: 13.14 MB / 1.335 GB, free: 16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.8065, allocations: 2.664 MB / 1.337 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.8066, allocations: 1.281 kB / 1.337 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.8068, allocations: 49.72 kB / 1.337 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.8071, allocations: 102.9 kB / 1.338 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.8084, allocations: 0.5184 MB / 1.338 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.8087, allocations: 237 kB / 1.338 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.8087, allocations: 7.797 kB / 1.338 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009238/0.8179, allocations: 3.6 MB / 1.342 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.8182, allocations: 101.4 kB / 1.342 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.8182, allocations: 8.062 kB / 1.342 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.8209, allocations: 1.091 MB / 1.343 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.821, allocations: 42.05 kB / 1.343 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.8211, allocations: 87.91 kB / 1.343 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008265/0.8219, allocations: 375.4 kB / 1.343 GB, free: 11.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.8219, allocations: 0 / 1.343 GB, free: 11.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.822, allocations: 0 / 1.343 GB, free: 11.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.822, allocations: 0.9062 kB / 1.343 GB, free: 11.56 MB / 1.061 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.000676/0.8226, allocations: 0.5099 MB / 1.344 GB, free: 11.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.8227, allocations: 14.27 kB / 1.344 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.8229, allocations: 26.91 kB / 1.344 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.8231, allocations: 215.3 kB / 1.344 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8231, allocations: 15.33 kB / 1.344 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.8231, allocations: 18.36 kB / 1.344 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.8235, allocations: 254.7 kB / 1.345 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8235, allocations: 0 / 1.345 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.8235, allocations: 6.656 kB / 1.345 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.8235, allocations: 18.92 kB / 1.345 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.824, allocations: 429.9 kB / 1.345 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009478/0.825, allocations: 0.9595 MB / 1.346 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.8253, allocations: 150.8 kB / 1.346 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.8253, allocations: 53.19 kB / 1.346 GB, free: 9.688 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008947/0.8262, allocations: 1.835 MB / 1.348 GB, free: 7.645 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.8263, allocations: 48.97 kB / 1.348 GB, free: 7.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/0.8263, allocations: 0 / 1.348 GB, free: 7.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003216/0.8266, allocations: 138.3 kB / 1.348 GB, free: 7.527 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.8266, allocations: 57.84 kB / 1.348 GB, free: 7.461 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.8267, allocations: 173 kB / 1.348 GB, free: 7.332 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.8268, allocations: 31.95 kB / 1.348 GB, free: 7.297 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.8268, allocations: 137.7 kB / 1.348 GB, free: 7.172 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.8268, allocations: 59.47 kB / 1.348 GB, free: 7.125 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.8269, allocations: 53.84 kB / 1.349 GB, free: 7.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.8269, allocations: 330.2 kB / 1.349 GB, free: 6.766 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.827, allocations: 35.48 kB / 1.349 GB, free: 6.758 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.8271, allocations: 139.1 kB / 1.349 GB, free: 6.613 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.8273, allocations: 199.7 kB / 1.349 GB, free: 6.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8273, allocations: 1.891 kB / 1.349 GB, free: 6.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003042/0.8276, allocations: 213.3 kB / 1.349 GB, free: 6.336 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8276, allocations: 11.42 kB / 1.349 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.8276, allocations: 3.219 kB / 1.349 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.8277, allocations: 5.469 kB / 1.349 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.8278, allocations: 58.95 kB / 1.349 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.8279, allocations: 5.516 kB / 1.349 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.828, allocations: 24.34 kB / 1.35 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.828, allocations: 16.17 kB / 1.35 GB, free: 6.301 MB / 1.061 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 7.739e-05/0.8281, allocations: 131.4 kB / 1.35 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.8281, allocations: 21.17 kB / 1.35 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.8284, allocations: 157.5 kB / 1.35 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.8284, allocations: 6.125 kB / 1.35 GB, free: 6.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8284, allocations: 1.062 kB / 1.35 GB, free: 6.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8284, allocations: 1.453 kB / 1.35 GB, free: 6.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.8286, allocations: 219.7 kB / 1.35 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8286, allocations: 1.844 kB / 1.35 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.8287, allocations: 22.08 kB / 1.35 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.8287, allocations: 8.812 kB / 1.35 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8287, allocations: 6.875 kB / 1.35 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8287, allocations: 3.938 kB / 1.35 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8287, allocations: 5.188 kB / 1.35 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.8289, allocations: 221 kB / 1.35 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.829, allocations: 111.4 kB / 1.35 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.829, allocations: 6.75 kB / 1.35 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.8293, allocations: 15 kB / 1.35 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.8293, allocations: 16.48 kB / 1.35 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.8293, allocations: 8.547 kB / 1.35 GB, free: 5.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.417e-05/0.8294, allocations: 128.8 kB / 1.351 GB, free: 5.449 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8294, allocations: 0 / 1.351 GB, free: 5.449 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004252/0.8298, allocations: 77.06 kB / 1.351 GB, free: 5.434 MB / 1.061 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.0003045/0.8301, allocations: 190.7 kB / 1.351 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.8303, allocations: 111.9 kB / 1.351 GB, free: 5.277 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.8304, allocations: 1.406 kB / 1.351 GB, free: 5.277 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.8304, allocations: 42.25 kB / 1.351 GB, free: 5.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.8309, allocations: 60.81 kB / 1.351 GB, free: 5.242 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.8315, allocations: 395.3 kB / 1.351 GB, free: 4.977 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.8317, allocations: 0.7111 MB / 1.352 GB, free: 4.281 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.8317, allocations: 29.17 kB / 1.352 GB, free: 4.27 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.8317, allocations: 1.156 kB / 1.352 GB, free: 4.27 MB / 1.061 GB Notification: Performance of Templates: time 0.006374/0.8381, allocations: 3.477 MB / 1.356 GB, free: 3.797 MB / 1.061 GB " [Timeout remaining time 299] 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.434974019997753]