Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.00131/0.00131, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001441/0.001441, allocations: 213.5 kB / 22.99 MB, free: 4.957 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.464/3.464, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Examples.PropyleneGlycolWaterProperties,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.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,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.Examples.PropyleneGlycolWaterProperties") [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.002646/0.002646, allocations: 63.52 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.493, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007132/0.5001, allocations: 4.23 MB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003573/0.5037, allocations: 2.453 MB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.342e-05/0.5038, allocations: 0 / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.5041, allocations: 51.67 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.5044, allocations: 87.44 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.5058, allocations: 0.5152 MB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.5061, allocations: 235.9 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.5062, allocations: 13.75 kB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.5074, allocations: 498.5 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.5075, allocations: 91.64 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.5075, allocations: 8 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5086, allocations: 483 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.5087, allocations: 39.89 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.5088, allocations: 75.66 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006141/0.5094, allocations: 346.9 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5094, allocations: 0 / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5094, allocations: 0 / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5094, allocations: 0 / 1.336 GB, free: 7.84 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009342/0.5104, allocations: 437.4 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5104, allocations: 8.031 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.5106, allocations: 36.77 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.5109, allocations: 154.2 kB / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5109, allocations: 16.7 kB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.511, allocations: 12.38 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.5116, allocations: 466.7 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5116, allocations: 3.938 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.5116, allocations: 8 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.5116, allocations: 7.984 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.5122, allocations: 428 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.5133, allocations: 0.8251 MB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.5137, allocations: 150.7 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.5139, allocations: 64.86 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/0.5147, allocations: 447.9 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5147, allocations: 38.56 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.5147, allocations: 0 / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003532/0.515, allocations: 141.5 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5151, allocations: 59.34 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.5153, allocations: 160.3 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.5153, allocations: 33.7 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5154, allocations: 148.1 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.5154, allocations: 55.53 kB / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.5155, allocations: 45.7 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5157, allocations: 326.8 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-05/0.5158, allocations: 35.98 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.5159, allocations: 133.7 kB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.5162, allocations: 203.2 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5162, allocations: 0 / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003602/0.5166, allocations: 217.2 kB / 1.34 GB, free: 2.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5166, allocations: 8 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.5166, allocations: 4 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5166, allocations: 4.469 kB / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.5168, allocations: 59.92 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.5168, allocations: 23.8 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.5169, allocations: 27.78 kB / 1.341 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.517, allocations: 8 kB / 1.341 GB, free: 2.75 MB / 1.029 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.0001614/0.5171, allocations: 141.7 kB / 1.341 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.5172, allocations: 19.91 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.5175, allocations: 149.2 kB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5175, allocations: 0 / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5175, allocations: 7.938 kB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5175, allocations: 0 / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.5177, allocations: 157.2 kB / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5177, allocations: 0 / 1.341 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.5179, allocations: 35.92 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5179, allocations: 0 / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.5179, allocations: 4 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5179, allocations: 0 / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.5179, allocations: 0 / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.5182, allocations: 219.3 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.5182, allocations: 27.88 kB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.5183, allocations: 4 kB / 1.341 GB, free: 1.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.5185, allocations: 19.98 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.5185, allocations: 11.92 kB / 1.341 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.5185, allocations: 15.92 kB / 1.341 GB, free: 1.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.595e-05/0.5186, allocations: 113.8 kB / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5186, allocations: 0 / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004189/0.519, allocations: 87.8 kB / 1.342 GB, free: 1.703 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 (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.0003375/0.5194, allocations: 190.9 kB / 1.342 GB, free: 1.504 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.5196, allocations: 107.8 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5196, allocations: 0 / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.5197, allocations: 50.39 kB / 1.342 GB, free: 1.352 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.5201, allocations: 41.69 kB / 1.342 GB, free: 1.312 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.5208, allocations: 348.1 kB / 1.342 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.5209, allocations: 106.9 kB / 1.342 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.5211, allocations: 41.28 kB / 1.342 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.5211, allocations: 27.42 kB / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.5211, allocations: 0 / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of Templates: time 0.007732/0.5288, allocations: 3.294 MB / 1.346 GB, free: 13.52 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 10.01599500500015]