Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.001696/0.001696, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.00206/0.00206, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.723 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.074/3.074, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.WaterProperties,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.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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.WaterProperties") [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.002036/0.002036, allocations: 64.86 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3704, allocations: 176.1 MB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00651/0.3769, allocations: 4.518 MB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003059/0.3799, allocations: 2.461 MB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.38, allocations: 0 / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.3803, allocations: 51.67 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.3805, allocations: 87.38 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.3818, allocations: 0.5284 MB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.3821, allocations: 224 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.019e-05/0.3821, allocations: 17.67 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.3823, allocations: 119.6 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3824, allocations: 87.59 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3824, allocations: 8 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.383, allocations: 311.4 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.3831, allocations: 47.77 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.3832, allocations: 75.7 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.3837, allocations: 342.9 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.3837, allocations: 0 / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of FrontEnd: time 7.31e-07/0.3837, allocations: 3.938 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.3837, allocations: 3.938 kB / 1.336 GB, free: 7.965 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.0006936/0.3844, allocations: 447.1 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.3844, allocations: 12.03 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.3846, allocations: 28.83 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3849, allocations: 158.3 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3849, allocations: 8.703 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3849, allocations: 20.31 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.3854, allocations: 487.5 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3854, allocations: 0 / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.3854, allocations: 11.94 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.3855, allocations: 7.984 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.386, allocations: 427.4 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.387, allocations: 0.774 MB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.3873, allocations: 150.1 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.3874, allocations: 54.62 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007295/0.3881, allocations: 455.8 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3882, allocations: 34.56 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.3882, allocations: 0 / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003141/0.3885, allocations: 145.5 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3885, allocations: 55.41 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3887, allocations: 163.9 kB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3887, allocations: 29.7 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3888, allocations: 148.1 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.3888, allocations: 55.53 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.3889, allocations: 53.69 kB / 1.339 GB, free: 4.043 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3891, allocations: 322.8 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.3891, allocations: 35.97 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.3893, allocations: 141.7 kB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.3895, allocations: 199.2 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3895, allocations: 0 / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00034/0.3899, allocations: 217.1 kB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3899, allocations: 8.469 kB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.3899, allocations: 8 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3899, allocations: 4 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3901, allocations: 55.91 kB / 1.34 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3901, allocations: 7.938 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3902, allocations: 27.78 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.3902, allocations: 16 kB / 1.34 GB, free: 2.91 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.0001211/0.3903, allocations: 134.2 kB / 1.341 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.3904, allocations: 15.91 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.3907, allocations: 156.8 kB / 1.341 GB, free: 2.598 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3907, allocations: 0 / 1.341 GB, free: 2.598 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3907, allocations: 11.94 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3907, allocations: 0 / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3909, allocations: 161.2 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3909, allocations: 0 / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.391, allocations: 35.92 kB / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.391, allocations: 0 / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3911, allocations: 8 kB / 1.341 GB, free: 2.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3911, allocations: 0 / 1.341 GB, free: 2.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3911, allocations: 3.984 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3913, allocations: 211.4 kB / 1.341 GB, free: 2.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.3914, allocations: 39.81 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.3914, allocations: 4 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3916, allocations: 11.98 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.3916, allocations: 11.98 kB / 1.341 GB, free: 2.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3917, allocations: 19.92 kB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.19e-05/0.3917, allocations: 112.9 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3917, allocations: 0 / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000401/0.3921, allocations: 79.81 kB / 1.341 GB, free: 1.855 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.0003083/0.3924, allocations: 182.9 kB / 1.342 GB, free: 1.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3927, allocations: 111.8 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3927, allocations: 4.938 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.3928, allocations: 42.44 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.3931, allocations: 35.98 kB / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007316/0.3938, allocations: 381.8 kB / 1.342 GB, free: 1.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.3939, allocations: 98.88 kB / 1.342 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.394, allocations: 31.42 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.394, allocations: 0 / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of Templates: time 0.00549/0.3995, allocations: 3.128 MB / 1.345 GB, free: 13.8 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.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.275219226023182]