Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001978/0.001978, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.001987/0.001987, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.913/2.913, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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_11_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_11_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.687e-05, allocations: 6.656 kB / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007301/0.007328, allocations: 4.841 MB / 0.7911 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004023/0.01135, allocations: 2.812 MB / 0.7939 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.01144, allocations: 2.219 kB / 0.7939 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.01171, allocations: 47.62 kB / 0.7939 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.012, allocations: 99.23 kB / 0.794 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.01329, allocations: 0.5448 MB / 0.7945 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.0136, allocations: 239.8 kB / 0.7948 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.01364, allocations: 9.812 kB / 0.7948 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.01392, allocations: 164.1 kB / 0.7949 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.01408, allocations: 77.73 kB / 0.795 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.01411, allocations: 8 kB / 0.795 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.01476, allocations: 315.1 kB / 0.7953 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.01484, allocations: 39.88 kB / 0.7954 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.01494, allocations: 63.89 kB / 0.7954 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.0156, allocations: 379.3 kB / 0.7958 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.0156, allocations: 4 kB / 0.7958 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.0156, allocations: 1.125 kB / 0.7958 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.01561, allocations: 0 / 0.7958 GB, free: 3.027 MB / 0.7448 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.0009185/0.01653, allocations: 0.5394 MB / 0.7963 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.01657, allocations: 8.031 kB / 0.7963 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.01678, allocations: 41.56 kB / 0.7964 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.01703, allocations: 160.3 kB / 0.7965 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.01705, allocations: 17.7 kB / 0.7965 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.01709, allocations: 16.38 kB / 0.7965 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.01765, allocations: 450.1 kB / 0.797 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01766, allocations: 192 / 0.797 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.01769, allocations: 16.11 kB / 0.797 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.01772, allocations: 4 kB / 0.797 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.01824, allocations: 335.5 kB / 0.7973 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.01961, allocations: 0.9949 MB / 0.7983 GB, free: 280 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.01997, allocations: 157.3 kB / 0.7984 GB, free: 112 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.02009, allocations: 59.7 kB / 0.7985 GB, free: 48 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008835/0.02097, allocations: 0.5329 MB / 0.799 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.02102, allocations: 37.39 kB / 0.799 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.02102, allocations: 0 / 0.799 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0003672/0.02139, allocations: 146.6 kB / 0.7992 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.02143, allocations: 51.41 kB / 0.7992 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.02164, allocations: 226.2 kB / 0.7995 GB, free: 15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.02168, allocations: 34.83 kB / 0.7995 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.02182, allocations: 194.8 kB / 0.7997 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.02219, allocations: 55.53 kB / 0.7997 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/0.02228, allocations: 56.42 kB / 0.7998 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002782/0.02256, allocations: 0.5 MB / 0.8003 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.02263, allocations: 31.98 kB / 0.8003 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.02285, allocations: 187.4 kB / 0.8005 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.02319, allocations: 258 kB / 0.8007 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.0232, allocations: 0 / 0.8007 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000378/0.02357, allocations: 217.2 kB / 0.8009 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.02359, allocations: 8.469 kB / 0.8009 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.0236, allocations: 4 kB / 0.8009 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.02362, allocations: 8 kB / 0.8009 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.02382, allocations: 59.91 kB / 0.801 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.02383, allocations: 4 kB / 0.801 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.02395, allocations: 27.78 kB / 0.801 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.02397, allocations: 16 kB / 0.8011 GB, free: 13.2 MB / 0.7605 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.0001563/0.02413, allocations: 184.3 kB / 0.8012 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.02419, allocations: 27.89 kB / 0.8013 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.02452, allocations: 144.4 kB / 0.8014 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.02453, allocations: 4 kB / 0.8014 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.02453, allocations: 4 kB / 0.8014 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02454, allocations: 0 / 0.8014 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.02479, allocations: 172.5 kB / 0.8016 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.02479, allocations: 0 / 0.8016 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.02493, allocations: 35.92 kB / 0.8016 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.02493, allocations: 0 / 0.8016 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.02494, allocations: 4 kB / 0.8016 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.02494, allocations: 0 / 0.8016 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.02494, allocations: 0 / 0.8016 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.02528, allocations: 275.7 kB / 0.8019 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.02535, allocations: 27.88 kB / 0.8019 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.02538, allocations: 8 kB / 0.8019 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.02554, allocations: 11.98 kB / 0.8019 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.02557, allocations: 7.984 kB / 0.8019 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.0256, allocations: 12 kB / 0.8019 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001159/0.02571, allocations: 151.2 kB / 0.8021 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02571, allocations: 0 / 0.8021 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003981/0.02611, allocations: 87.78 kB / 0.8022 GB, free: 12 MB / 0.7605 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.0003418/0.02645, allocations: 186.9 kB / 0.8023 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.02673, allocations: 126.1 kB / 0.8025 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02673, allocations: 0.9375 kB / 0.8025 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.939e-05/0.02683, allocations: 55.59 kB / 0.8025 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.02722, allocations: 56.05 kB / 0.8026 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007215/0.02794, allocations: 315.2 kB / 0.8029 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.02806, allocations: 98.92 kB / 0.803 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00015/0.02821, allocations: 45.33 kB / 0.803 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.02826, allocations: 24.48 kB / 0.803 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/0.02826, allocations: 0 / 0.803 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of Templates: time 0.007856/0.03611, allocations: 3.156 MB / 0.8061 GB, free: 7.969 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.161415981943719]