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.001478/0.001478, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001732/0.001732, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.91/2.91, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.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.001987/0.001987, allocations: 70.08 kB / 1.155 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2801, allocations: 176.1 MB / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005999/0.2861, allocations: 4.534 MB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.289, allocations: 2.73 MB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.2891, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.2893, allocations: 43.69 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.2896, allocations: 99.41 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.2907, allocations: 0.5178 MB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.2909, allocations: 236 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.291, allocations: 9.75 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.292, allocations: 0.4985 MB / 1.336 GB, free: 8.656 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2922, allocations: 87.66 kB / 1.336 GB, free: 8.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2922, allocations: 8 kB / 1.336 GB, free: 8.562 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.2933, allocations: 0.5536 MB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.2933, allocations: 39.83 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.2934, allocations: 75.67 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.294, allocations: 358.8 kB / 1.337 GB, free: 7.543 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.294, allocations: 4 kB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.052e-06/0.294, allocations: 3.938 kB / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.294, allocations: 0 / 1.337 GB, free: 7.535 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.0007528/0.2948, allocations: 441.5 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2948, allocations: 15.97 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.2949, allocations: 24.83 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.2952, allocations: 154.2 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2952, allocations: 12.7 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.2952, allocations: 12.38 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.2956, allocations: 261.1 kB / 1.338 GB, free: 6.555 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2956, allocations: 3.938 kB / 1.338 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2956, allocations: 8 kB / 1.338 GB, free: 6.543 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.2957, allocations: 11.98 kB / 1.338 GB, free: 6.531 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.2962, allocations: 440 kB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.2972, allocations: 0.9834 MB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.2975, allocations: 151.8 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.2976, allocations: 60.88 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/0.2983, allocations: 455.8 kB / 1.34 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2983, allocations: 38.56 kB / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.2983, allocations: 0 / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003071/0.2986, allocations: 145.5 kB / 1.34 GB, free: 4.148 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.2987, allocations: 63.28 kB / 1.34 GB, free: 4.074 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2988, allocations: 168.2 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2989, allocations: 29.7 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.2989, allocations: 148 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.299, allocations: 55.52 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.2991, allocations: 53.66 kB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2992, allocations: 322.8 kB / 1.341 GB, free: 3.273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.2992, allocations: 35.98 kB / 1.341 GB, free: 3.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.2994, allocations: 137.7 kB / 1.341 GB, free: 3.055 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.2996, allocations: 200.6 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2996, allocations: 4 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003144/0.2999, allocations: 213.2 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2999, allocations: 5.719 kB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3, allocations: 8.453 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3, allocations: 12 kB / 1.341 GB, free: 2.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3001, allocations: 55.86 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3001, allocations: 7.938 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3002, allocations: 23.78 kB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3003, allocations: 19.98 kB / 1.341 GB, free: 2.465 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.0001026/0.3004, allocations: 129.8 kB / 1.341 GB, free: 2.328 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.3004, allocations: 19.84 kB / 1.341 GB, free: 2.309 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.3007, allocations: 158.9 kB / 1.342 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.3007, allocations: 7.938 kB / 1.342 GB, free: 2.141 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3007, allocations: 3.938 kB / 1.342 GB, free: 2.137 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3007, allocations: 4 kB / 1.342 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3009, allocations: 192.5 kB / 1.342 GB, free: 1.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3009, allocations: 0 / 1.342 GB, free: 1.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.301, allocations: 23.98 kB / 1.342 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.301, allocations: 0 / 1.342 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.301, allocations: 8 kB / 1.342 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.301, allocations: 3.938 kB / 1.342 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.301, allocations: 4 kB / 1.342 GB, free: 1.863 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.3013, allocations: 226.4 kB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.3013, allocations: 31.81 kB / 1.342 GB, free: 1.598 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3014, allocations: 4 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3016, allocations: 15.92 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.3016, allocations: 11.98 kB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.3016, allocations: 12 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.211e-05/0.3017, allocations: 119.9 kB / 1.342 GB, free: 1.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3017, allocations: 4 kB / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003537/0.302, allocations: 75.88 kB / 1.342 GB, free: 1.359 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.0002684/0.3023, allocations: 179 kB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.3025, allocations: 116.5 kB / 1.343 GB, free: 1.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3025, allocations: 4.062 kB / 1.343 GB, free: 1.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.3026, allocations: 43.92 kB / 1.343 GB, free: 1.016 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.303, allocations: 55.92 kB / 1.343 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.3037, allocations: 369.8 kB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.304, allocations: 0.7168 MB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.304, allocations: 27.44 kB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.304, allocations: 3.938 kB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of Templates: time 0.005276/0.3093, allocations: 3.21 MB / 1.347 GB, free: 12.6 MB / 1.045 GB " [Timeout remaining time 300] 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 -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.401136722997762]