Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 112.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 437.1 MB / 0.7177 GB, free: 4.559 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.83 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3024, allocations: 151.6 MB / 1.176 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00663/0.309, allocations: 4.713 MB / 1.18 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003199/0.3123, allocations: 2.695 MB / 1.183 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3124, allocations: 4 kB / 1.183 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.3127, allocations: 47.61 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.3131, allocations: 95.36 kB / 1.183 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.3145, allocations: 0.4973 MB / 1.184 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.3148, allocations: 228 kB / 1.184 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.3149, allocations: 21.53 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.3151, allocations: 119.5 kB / 1.184 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.3153, allocations: 87.61 kB / 1.184 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.3153, allocations: 8 kB / 1.184 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008258/0.3162, allocations: 367.3 kB / 1.185 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.3163, allocations: 35.89 kB / 1.185 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3164, allocations: 87.58 kB / 1.185 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.317, allocations: 358.8 kB / 1.185 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3171, allocations: 4 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.756e-06/0.3171, allocations: 0 / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.3171, allocations: 0 / 1.185 GB, free: 12.45 MB / 0.9356 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.0008845/0.318, allocations: 0.5025 MB / 1.185 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.318, allocations: 12.03 kB / 1.186 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.3182, allocations: 32.83 kB / 1.186 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3186, allocations: 208.2 kB / 1.186 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3186, allocations: 12.7 kB / 1.186 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.3186, allocations: 20.38 kB / 1.186 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.319, allocations: 248.2 kB / 1.186 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3191, allocations: 0 / 1.186 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3191, allocations: 8 kB / 1.186 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.3191, allocations: 4 kB / 1.186 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005431/0.3197, allocations: 431.5 kB / 1.186 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3209, allocations: 0.9565 MB / 1.187 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3212, allocations: 162.9 kB / 1.188 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3214, allocations: 64.88 kB / 1.188 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/0.3231, allocations: 1.825 MB / 1.189 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3232, allocations: 38.44 kB / 1.189 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.3232, allocations: 4 kB / 1.189 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.000379/0.3235, allocations: 148.1 kB / 1.19 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.3236, allocations: 59.28 kB / 1.19 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3238, allocations: 177.3 kB / 1.19 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3238, allocations: 25.7 kB / 1.19 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3239, allocations: 148 kB / 1.19 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.324, allocations: 55.53 kB / 1.19 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.3241, allocations: 49.7 kB / 1.19 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3242, allocations: 330.8 kB / 1.19 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.3243, allocations: 31.98 kB / 1.19 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.3245, allocations: 142.7 kB / 1.191 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.3247, allocations: 202.8 kB / 1.191 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3248, allocations: 4 kB / 1.191 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000342/0.3251, allocations: 217.1 kB / 1.191 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3251, allocations: 8.469 kB / 1.191 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3251, allocations: 4 kB / 1.191 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3252, allocations: 8 kB / 1.191 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3254, allocations: 55.84 kB / 1.191 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3254, allocations: 8 kB / 1.191 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3255, allocations: 23.84 kB / 1.191 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.3255, allocations: 16 kB / 1.191 GB, free: 5.539 MB / 0.9356 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.0001117/0.3256, allocations: 129.7 kB / 1.191 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.3257, allocations: 19.89 kB / 1.191 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.326, allocations: 165.1 kB / 1.191 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.326, allocations: 7.938 kB / 1.191 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3261, allocations: 0 / 1.191 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3261, allocations: 0 / 1.191 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.3263, allocations: 213.5 kB / 1.192 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3264, allocations: 0 / 1.192 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.3265, allocations: 27.98 kB / 1.192 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3265, allocations: 3.984 kB / 1.192 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3265, allocations: 8 kB / 1.192 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/0.3265, allocations: 7.875 kB / 1.192 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3265, allocations: 0 / 1.192 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.3268, allocations: 215.4 kB / 1.192 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3269, allocations: 116.9 kB / 1.192 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3269, allocations: 4 kB / 1.192 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3271, allocations: 15.92 kB / 1.192 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.3272, allocations: 11.98 kB / 1.192 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3272, allocations: 8 kB / 1.192 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001089/0.3273, allocations: 124.9 kB / 1.192 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3273, allocations: 7.938 kB / 1.192 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003865/0.3277, allocations: 75.86 kB / 1.192 GB, free: 4.301 MB / 0.9356 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.0003268/0.328, allocations: 179 kB / 1.192 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.3283, allocations: 120.6 kB / 1.192 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3283, allocations: 0 / 1.192 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.3284, allocations: 39.98 kB / 1.192 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.3288, allocations: 73.41 kB / 1.193 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007499/0.3296, allocations: 364.2 kB / 1.193 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.33, allocations: 0.7168 MB / 1.194 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.33, allocations: 27.44 kB / 1.194 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.33, allocations: 0 / 1.194 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of Templates: time 0.005647/0.3357, allocations: 3.166 MB / 1.197 GB, free: 15.58 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_10_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.706115929991938]