Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001451/0.001451, allocations: 109.1 kB / 18.94 MB, free: 2.812 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.00187/0.00187, allocations: 216.7 kB / 22.26 MB, free: 5.18 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.893/2.893, allocations: 476.7 MB / 0.7706 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002159/0.002159, allocations: 67.62 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3771, allocations: 170 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006901/0.384, allocations: 4.542 MB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003264/0.3873, allocations: 2.722 MB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.3874, allocations: 0 / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.3877, allocations: 47.67 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.3881, allocations: 103.3 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.3895, allocations: 0.5097 MB / 1.292 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.3898, allocations: 235.9 kB / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.3898, allocations: 9.75 kB / 1.292 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.391, allocations: 498.5 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3912, allocations: 103.5 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.3912, allocations: 8 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.3924, allocations: 0.5498 MB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.3925, allocations: 43.83 kB / 1.293 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.3926, allocations: 75.66 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.3932, allocations: 358.8 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3932, allocations: 0 / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3932, allocations: 0 / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.3932, allocations: 0 / 1.293 GB, free: 1.398 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.000827/0.394, allocations: 449.4 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3941, allocations: 8.031 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.3943, allocations: 32.83 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.3946, allocations: 146.3 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3946, allocations: 12.7 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.3946, allocations: 12.38 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.395, allocations: 265 kB / 1.294 GB, free: 424 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.395, allocations: 0 / 1.294 GB, free: 424 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.395, allocations: 8 kB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.3951, allocations: 4 kB / 1.294 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005371/0.3956, allocations: 451.4 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.3968, allocations: 0.9911 MB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.397, allocations: 141.5 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3971, allocations: 59.3 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.3979, allocations: 471.8 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3979, allocations: 38.56 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.3979, allocations: 0 / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003869/0.3983, allocations: 144.9 kB / 1.297 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.3984, allocations: 63.34 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3986, allocations: 171.9 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.3986, allocations: 29.7 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3987, allocations: 144.1 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.3988, allocations: 51.53 kB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/0.3988, allocations: 57.64 kB / 1.297 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.399, allocations: 322.8 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.3991, allocations: 31.98 kB / 1.297 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.3992, allocations: 146.9 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.3995, allocations: 197.5 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3995, allocations: 0 / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003541/0.3998, allocations: 221.2 kB / 1.298 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3998, allocations: 7.938 kB / 1.298 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3998, allocations: 4 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.3999, allocations: 8.469 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.4, allocations: 67.78 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4001, allocations: 4 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.4002, allocations: 23.78 kB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.4002, allocations: 16 kB / 1.298 GB, free: 12.32 MB / 0.9981 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.0001187/0.4003, allocations: 129.8 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.4004, allocations: 15.91 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.4007, allocations: 165.8 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4007, allocations: 3.938 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4007, allocations: 0 / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4007, allocations: 4 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.4009, allocations: 192.6 kB / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4009, allocations: 0 / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-05/0.401, allocations: 23.98 kB / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.401, allocations: 4 kB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.401, allocations: 8 kB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.401, allocations: 3.938 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.401, allocations: 4 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.4013, allocations: 215.4 kB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.4014, allocations: 31.81 kB / 1.299 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.4014, allocations: 7.984 kB / 1.299 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.4016, allocations: 15.92 kB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.4016, allocations: 11.98 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4016, allocations: 15.94 kB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001001/0.4017, allocations: 116 kB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4017, allocations: 0 / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003891/0.4021, allocations: 79.86 kB / 1.299 GB, free: 11.22 MB / 0.9981 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.0003254/0.4025, allocations: 187 kB / 1.299 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.4027, allocations: 112.5 kB / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4027, allocations: 0 / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.4028, allocations: 48.05 kB / 1.299 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.4032, allocations: 47.94 kB / 1.299 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.4039, allocations: 352 kB / 1.3 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.4043, allocations: 0.7128 MB / 1.3 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.4044, allocations: 41.75 kB / 1.3 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.4045, allocations: 31.36 kB / 1.3 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.4045, allocations: 0 / 1.3 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of Templates: time 0.008057/0.4125, allocations: 3.514 MB / 1.304 GB, free: 6.164 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.504899337887764]