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.001401/0.001401, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001497/0.001497, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.339/3.339, allocations: 0.4899 GB / 0.7915 GB, free: 33.4 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.002139/0.002139, allocations: 68.52 kB / 1.149 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3657, allocations: 176.1 MB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006827/0.3725, allocations: 4.508 MB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.3758, allocations: 2.702 MB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.3759, allocations: 4 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.3762, allocations: 47.69 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3765, allocations: 103.3 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3779, allocations: 0.5013 MB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.3782, allocations: 236 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.441e-05/0.3782, allocations: 13.55 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009882/0.3792, allocations: 426.6 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3794, allocations: 91.66 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.3794, allocations: 8 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3804, allocations: 0.5068 MB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.3805, allocations: 27.91 kB / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.293e-05/0.3806, allocations: 91.52 kB / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.3812, allocations: 347 kB / 1.331 GB, free: 9.141 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3812, allocations: 11.92 kB / 1.331 GB, free: 9.129 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3812, allocations: 0 / 1.331 GB, free: 9.129 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3812, allocations: 0 / 1.331 GB, free: 9.129 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.0008592/0.3821, allocations: 0.5025 MB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3821, allocations: 15.98 kB / 1.331 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.3823, allocations: 20.84 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.3826, allocations: 216.1 kB / 1.331 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3826, allocations: 16.64 kB / 1.331 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3826, allocations: 16.38 kB / 1.331 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.383, allocations: 253 kB / 1.332 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.383, allocations: 0 / 1.332 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.3831, allocations: 8 kB / 1.332 GB, free: 7.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.3831, allocations: 7.938 kB / 1.332 GB, free: 7.973 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.3836, allocations: 431.5 kB / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.3848, allocations: 1.012 MB / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3851, allocations: 150 kB / 1.333 GB, free: 6.293 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3852, allocations: 64.81 kB / 1.333 GB, free: 6.227 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.3868, allocations: 1.817 MB / 1.335 GB, free: 4.051 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.3869, allocations: 42.5 kB / 1.335 GB, free: 4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.3869, allocations: 0 / 1.335 GB, free: 4 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003697/0.3872, allocations: 144.4 kB / 1.335 GB, free: 3.855 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3873, allocations: 55.34 kB / 1.335 GB, free: 3.789 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3875, allocations: 179.9 kB / 1.335 GB, free: 3.598 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.3875, allocations: 25.7 kB / 1.335 GB, free: 3.566 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3876, allocations: 148.1 kB / 1.336 GB, free: 3.418 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.3876, allocations: 51.53 kB / 1.336 GB, free: 3.367 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.3877, allocations: 61.66 kB / 1.336 GB, free: 3.301 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3879, allocations: 322.8 kB / 1.336 GB, free: 2.977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.3879, allocations: 35.97 kB / 1.336 GB, free: 2.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.3881, allocations: 137.7 kB / 1.336 GB, free: 2.758 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.3884, allocations: 201.5 kB / 1.336 GB, free: 2.512 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3884, allocations: 0 / 1.336 GB, free: 2.512 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003379/0.3887, allocations: 209.5 kB / 1.337 GB, free: 2.301 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3887, allocations: 12.09 kB / 1.337 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3887, allocations: 4 kB / 1.337 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3887, allocations: 4 kB / 1.337 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.3889, allocations: 55.86 kB / 1.337 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.3889, allocations: 11.92 kB / 1.337 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.389, allocations: 23.84 kB / 1.337 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3891, allocations: 16 kB / 1.337 GB, free: 2.176 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.0001182/0.3892, allocations: 133.7 kB / 1.337 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.3892, allocations: 15.91 kB / 1.337 GB, free: 2.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.3895, allocations: 156.8 kB / 1.337 GB, free: 1.863 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3896, allocations: 7.938 kB / 1.337 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3896, allocations: 0 / 1.337 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3896, allocations: 0 / 1.337 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3898, allocations: 221.5 kB / 1.337 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3898, allocations: 0 / 1.337 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-05/0.3899, allocations: 31.92 kB / 1.337 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3899, allocations: 0 / 1.337 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3899, allocations: 4 kB / 1.337 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.39, allocations: 11.86 kB / 1.337 GB, free: 1.543 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.39, allocations: 4 kB / 1.337 GB, free: 1.539 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3902, allocations: 218 kB / 1.337 GB, free: 1.312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3903, allocations: 112.9 kB / 1.338 GB, free: 1.184 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3904, allocations: 4 kB / 1.338 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.3906, allocations: 19.86 kB / 1.338 GB, free: 1.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3906, allocations: 11.98 kB / 1.338 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3906, allocations: 15.92 kB / 1.338 GB, free: 1.133 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001081/0.3907, allocations: 120 kB / 1.338 GB, free: 1.016 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3907, allocations: 4 kB / 1.338 GB, free: 1.012 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003953/0.3911, allocations: 71.88 kB / 1.338 GB, free: 0.9414 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.0003427/0.3915, allocations: 179 kB / 1.338 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3917, allocations: 116 kB / 1.338 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3917, allocations: 0 / 1.338 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.3918, allocations: 47.91 kB / 1.338 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3923, allocations: 51.84 kB / 1.338 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.393, allocations: 342.6 kB / 1.339 GB, free: 196 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.3933, allocations: 0.7168 MB / 1.339 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.3935, allocations: 53.66 kB / 1.339 GB, free: 15.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.3935, allocations: 27.44 kB / 1.339 GB, free: 15.37 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3935, allocations: 0 / 1.339 GB, free: 15.37 MB / 1.045 GB Notification: Performance of Templates: time 0.007643/0.4012, allocations: 3.409 MB / 1.343 GB, free: 12 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/jenkins/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: 9.459461162798107]