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.002385/0.002385, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.00265/0.00265, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.664/1.664, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.505/3.505, allocations: 429.5 MB / 0.6729 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 3.056e-06/3.056e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 6.058e-05/6.364e-05, allocations: 9.062 kB / 0.8775 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.01507/0.01513, allocations: 4.837 MB / 0.8822 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.007862/0.02299, allocations: 2.818 MB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.02317, allocations: 0 / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.0236, allocations: 43.69 kB / 0.885 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.02418, allocations: 107.2 kB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.02694, allocations: 0.5209 MB / 0.8856 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.02752, allocations: 243.8 kB / 0.8858 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.0276, allocations: 9.812 kB / 0.8858 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.02824, allocations: 155.5 kB / 0.886 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.02855, allocations: 87.7 kB / 0.8861 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.0286, allocations: 8 kB / 0.8861 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.02995, allocations: 315.2 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.0301, allocations: 39.88 kB / 0.8864 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.03027, allocations: 59.91 kB / 0.8865 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.03148, allocations: 378.8 kB / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.03148, allocations: 0 / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.861e-06/0.03149, allocations: 7.938 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.0315, allocations: 0 / 0.8868 GB, free: 13.07 MB / 0.8542 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.001454/0.03295, allocations: 0.5345 MB / 0.8874 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.03301, allocations: 16.03 kB / 0.8874 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.0334, allocations: 44.67 kB / 0.8874 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.03383, allocations: 160.4 kB / 0.8876 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.03386, allocations: 8.703 kB / 0.8876 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.03392, allocations: 20.38 kB / 0.8876 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.03488, allocations: 446 kB / 0.888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.0349, allocations: 8.125 kB / 0.888 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.03496, allocations: 12.11 kB / 0.888 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.03502, allocations: 12 kB / 0.8881 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009456/0.03596, allocations: 331.5 kB / 0.8884 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.03831, allocations: 0.9949 MB / 0.8893 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.039, allocations: 159.9 kB / 0.8895 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.03921, allocations: 55.7 kB / 0.8895 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/0.04085, allocations: 0.5387 MB / 0.8901 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/0.04091, allocations: 37.39 kB / 0.8901 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.605e-06/0.04091, allocations: 8 kB / 0.8901 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0006847/0.04159, allocations: 137.5 kB / 0.8902 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.04167, allocations: 55.41 kB / 0.8903 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.04203, allocations: 228.8 kB / 0.8905 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.04208, allocations: 29.64 kB / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.04233, allocations: 194.8 kB / 0.8907 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.04243, allocations: 51.59 kB / 0.8908 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.0426, allocations: 63.31 kB / 0.8908 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0008662/0.04346, allocations: 0.4961 MB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.04361, allocations: 39.97 kB / 0.8914 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.04402, allocations: 183.5 kB / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.04466, allocations: 254.6 kB / 0.8918 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.04467, allocations: 0 / 0.8918 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007762/0.04544, allocations: 217.7 kB / 0.892 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.04547, allocations: 6.344 kB / 0.892 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.04549, allocations: 8 kB / 0.892 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.04552, allocations: 4 kB / 0.892 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.04594, allocations: 67.84 kB / 0.8921 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.04596, allocations: 7.984 kB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.04619, allocations: 27.78 kB / 0.8921 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.04623, allocations: 15.98 kB / 0.8921 GB, free: 7.207 MB / 0.8542 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.0003054/0.04654, allocations: 184.4 kB / 0.8923 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.04665, allocations: 19.97 kB / 0.8923 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006083/0.04726, allocations: 154.4 kB / 0.8925 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.04727, allocations: 0 / 0.8925 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.04728, allocations: 0 / 0.8925 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.04728, allocations: 0 / 0.8925 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.04776, allocations: 172.5 kB / 0.8926 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.04777, allocations: 4 kB / 0.8926 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.04799, allocations: 23.98 kB / 0.8927 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.048, allocations: 4 kB / 0.8927 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.04803, allocations: 7.984 kB / 0.8927 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.04803, allocations: 0 / 0.8927 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.04803, allocations: 4 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.04866, allocations: 282.3 kB / 0.8929 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.0488, allocations: 27.92 kB / 0.893 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.04884, allocations: 4 kB / 0.893 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.04916, allocations: 11.97 kB / 0.893 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.04922, allocations: 15.98 kB / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.04926, allocations: 7.984 kB / 0.893 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001838/0.04944, allocations: 157 kB / 0.8932 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/0.04944, allocations: 0 / 0.8932 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007618/0.05021, allocations: 87.75 kB / 0.8932 GB, free: 5.996 MB / 0.8542 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.0005497/0.05076, allocations: 183 kB / 0.8934 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.05125, allocations: 128.5 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.05126, allocations: 8.312 kB / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.05143, allocations: 47.61 kB / 0.8936 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.05214, allocations: 43.91 kB / 0.8936 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.05337, allocations: 330.1 kB / 0.8939 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.05355, allocations: 98.92 kB / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.05385, allocations: 45.33 kB / 0.8941 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.05394, allocations: 28.5 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/0.05395, allocations: 0 / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of Templates: time 0.01503/0.06897, allocations: 3.141 MB / 0.8972 GB, free: 1.973 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] 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: 8.939834715914913]