Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001138/0.001138, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.00142/0.00142, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8758/0.8758, allocations: 177.2 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.755/1.755, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.96e-05, allocations: 8.531 kB / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003973/0.003992, allocations: 4.516 MB / 1.005 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.005817, allocations: 2.465 MB / 1.008 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.005899, allocations: 0 / 1.008 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.006153, allocations: 39.75 kB / 1.008 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.006371, allocations: 103.2 kB / 1.008 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.007289, allocations: 0.54 MB / 1.008 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.007495, allocations: 243.8 kB / 1.009 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.00753, allocations: 5.812 kB / 1.009 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.007704, allocations: 155.6 kB / 1.009 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.007805, allocations: 79.77 kB / 1.009 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.007825, allocations: 8 kB / 1.009 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.008242, allocations: 319.1 kB / 1.009 GB, free: 3.371 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.00831, allocations: 43.88 kB / 1.009 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.008365, allocations: 59.84 kB / 1.009 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.008777, allocations: 382.9 kB / 1.01 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.008779, allocations: 0 / 1.01 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00878, allocations: 0 / 1.01 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.008784, allocations: 0 / 1.01 GB, free: 2.895 MB / 0.9167 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.0005546/0.009339, allocations: 441.5 kB / 1.01 GB, free: 2.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.009372, allocations: 9.344 kB / 1.01 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.009476, allocations: 24.83 kB / 1.01 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.009662, allocations: 165.5 kB / 1.01 GB, free: 2.211 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.009676, allocations: 8.703 kB / 1.01 GB, free: 2.203 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.009694, allocations: 16.38 kB / 1.01 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.01005, allocations: 491.9 kB / 1.011 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.01006, allocations: 192 / 1.011 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.01008, allocations: 16.12 kB / 1.011 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.0101, allocations: 7.938 kB / 1.011 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.01042, allocations: 419.5 kB / 1.011 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.01114, allocations: 0.7702 MB / 1.012 GB, free: 392 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.01138, allocations: 156 kB / 1.012 GB, free: 224 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.261e-05/0.01144, allocations: 56.81 kB / 1.012 GB, free: 164 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004553/0.0119, allocations: 448 kB / 1.013 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.01192, allocations: 38.56 kB / 1.013 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.01192, allocations: 0 / 1.013 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0002426/0.01216, allocations: 152.1 kB / 1.013 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.01219, allocations: 51.41 kB / 1.013 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.01228, allocations: 171.5 kB / 1.013 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.0123, allocations: 29.7 kB / 1.013 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.01236, allocations: 144.1 kB / 1.013 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.01239, allocations: 51.58 kB / 1.013 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.01244, allocations: 53.66 kB / 1.013 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.01252, allocations: 330.8 kB / 1.014 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.01256, allocations: 39.97 kB / 1.014 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.01279, allocations: 137.7 kB / 1.014 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.01295, allocations: 205.5 kB / 1.014 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01295, allocations: 0 / 1.014 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001998/0.01315, allocations: 205.2 kB / 1.014 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01317, allocations: 7.938 kB / 1.014 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.01317, allocations: 4.469 kB / 1.014 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.01319, allocations: 12 kB / 1.014 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01329, allocations: 59.91 kB / 1.014 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.0133, allocations: 4 kB / 1.014 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.01336, allocations: 27.78 kB / 1.014 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.01338, allocations: 16 kB / 1.014 GB, free: 13.84 MB / 0.9323 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 7.615e-05/0.01345, allocations: 141.6 kB / 1.014 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.01348, allocations: 11.95 kB / 1.014 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.01367, allocations: 160.9 kB / 1.014 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.01368, allocations: 0 / 1.014 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01368, allocations: 4 kB / 1.014 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01368, allocations: 0 / 1.014 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01382, allocations: 153.2 kB / 1.015 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01382, allocations: 3.984 kB / 1.015 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.01388, allocations: 31.98 kB / 1.015 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01388, allocations: 0 / 1.015 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.01389, allocations: 3.984 kB / 1.015 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01389, allocations: 4 kB / 1.015 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01389, allocations: 0 / 1.015 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.01404, allocations: 223.2 kB / 1.015 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.01408, allocations: 27.88 kB / 1.015 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.0141, allocations: 8 kB / 1.015 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.01419, allocations: 15.98 kB / 1.015 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.01421, allocations: 11.97 kB / 1.015 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01422, allocations: 11.94 kB / 1.015 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.832e-05/0.01427, allocations: 113.7 kB / 1.015 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.01427, allocations: 0 / 1.015 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002459/0.01452, allocations: 79.81 kB / 1.015 GB, free: 12.79 MB / 0.9323 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.000229/0.01475, allocations: 195 kB / 1.015 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.01491, allocations: 111.7 kB / 1.015 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01491, allocations: 0.9375 kB / 1.015 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.01495, allocations: 46.59 kB / 1.015 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.0152, allocations: 45.78 kB / 1.016 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.01566, allocations: 343.9 kB / 1.016 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.01573, allocations: 98.92 kB / 1.016 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.01577, allocations: 28.5 kB / 1.016 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of SimCode: time 4.11e-07/0.01577, allocations: 0 / 1.016 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of Templates: time 0.003259/0.01903, allocations: 3.149 MB / 1.019 GB, free: 8.75 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.115560183301568]