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.001389/0.001389, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001432/0.001432, allocations: 186 kB / 20.78 MB, free: 1.547 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.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.023 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.704/2.704, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5763 GB " [Timeout remaining time 176] 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.002049/0.002049, allocations: 67.89 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3226, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007072/0.3297, allocations: 4.78 MB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.3334, allocations: 2.714 MB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3335, allocations: 0 / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.3338, allocations: 51.67 kB / 1.224 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.3341, allocations: 91.42 kB / 1.224 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3354, allocations: 0.5225 MB / 1.224 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.3357, allocations: 239.9 kB / 1.224 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.3357, allocations: 5.562 kB / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.336, allocations: 119.5 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.3362, allocations: 91.66 kB / 1.225 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.3362, allocations: 8 kB / 1.225 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007876/0.337, allocations: 379.3 kB / 1.225 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.3371, allocations: 35.89 kB / 1.225 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3372, allocations: 83.59 kB / 1.225 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007078/0.3379, allocations: 366.8 kB / 1.225 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3379, allocations: 4 kB / 1.225 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3379, allocations: 0 / 1.225 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.3379, allocations: 0 / 1.225 GB, free: 5.797 MB / 0.9669 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.000861/0.3388, allocations: 0.4986 MB / 1.226 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3388, allocations: 12.03 kB / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.339, allocations: 28.83 kB / 1.226 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.3393, allocations: 204.2 kB / 1.226 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3394, allocations: 12.7 kB / 1.226 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.3394, allocations: 16.38 kB / 1.226 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.3398, allocations: 248.2 kB / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3398, allocations: 0 / 1.226 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.3399, allocations: 15.94 kB / 1.226 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.3399, allocations: 8 kB / 1.226 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.3405, allocations: 427.5 kB / 1.227 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.3417, allocations: 0.9527 MB / 1.228 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.342, allocations: 150.9 kB / 1.228 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3421, allocations: 59.72 kB / 1.228 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/0.3438, allocations: 1.829 MB / 1.23 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.3439, allocations: 34.56 kB / 1.23 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.3439, allocations: 0 / 1.23 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003994/0.3443, allocations: 149.4 kB / 1.23 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3443, allocations: 59.34 kB / 1.23 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.3445, allocations: 167.2 kB / 1.23 GB, free: 360 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3446, allocations: 33.69 kB / 1.23 GB, free: 320 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3447, allocations: 144.1 kB / 1.23 GB, free: 172 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.3447, allocations: 51.59 kB / 1.23 GB, free: 120 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.121e-05/0.3448, allocations: 57.62 kB / 1.23 GB, free: 56 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.345, allocations: 326.8 kB / 1.231 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.3451, allocations: 39.97 kB / 1.231 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.3452, allocations: 147.1 kB / 1.231 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3455, allocations: 199.8 kB / 1.231 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3455, allocations: 0 / 1.231 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003461/0.3459, allocations: 217.5 kB / 1.231 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3459, allocations: 4 kB / 1.231 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3459, allocations: 4 kB / 1.231 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.3459, allocations: 8 kB / 1.231 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.3461, allocations: 63.78 kB / 1.231 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3461, allocations: 4 kB / 1.231 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3462, allocations: 19.84 kB / 1.231 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3462, allocations: 16 kB / 1.231 GB, free: 14.92 MB / 0.9825 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.0001184/0.3464, allocations: 133.9 kB / 1.232 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.3464, allocations: 15.91 kB / 1.232 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.3467, allocations: 170.8 kB / 1.232 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3468, allocations: 3.938 kB / 1.232 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3468, allocations: 0 / 1.232 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3468, allocations: 4 kB / 1.232 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.347, allocations: 209.6 kB / 1.232 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.347, allocations: 0 / 1.232 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3471, allocations: 23.98 kB / 1.232 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3471, allocations: 4 kB / 1.232 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3471, allocations: 4 kB / 1.232 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3472, allocations: 3.938 kB / 1.232 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3472, allocations: 4 kB / 1.232 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3474, allocations: 221 kB / 1.232 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3475, allocations: 112.9 kB / 1.232 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3475, allocations: 4 kB / 1.232 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.3477, allocations: 15.92 kB / 1.232 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.3478, allocations: 19.98 kB / 1.232 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3478, allocations: 4 kB / 1.232 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001663/0.348, allocations: 124.9 kB / 1.232 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.348, allocations: 0 / 1.232 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003879/0.3484, allocations: 83.86 kB / 1.232 GB, free: 13.68 MB / 0.9825 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.3487, allocations: 183 kB / 1.233 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.3489, allocations: 115.7 kB / 1.233 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3489, allocations: 0 / 1.233 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.349, allocations: 45.47 kB / 1.233 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3495, allocations: 60.88 kB / 1.233 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/0.3502, allocations: 346.4 kB / 1.233 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.3505, allocations: 0.7128 MB / 1.234 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.3507, allocations: 45.75 kB / 1.234 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.3507, allocations: 27.44 kB / 1.234 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.3507, allocations: 0 / 1.234 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.007686/0.3584, allocations: 3.507 MB / 1.237 GB, free: 8.629 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.51371787302196]