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.001878/0.001878, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002261/0.002261, allocations: 161.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 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.008/3.008, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.835e-06/2.835e-06, allocations: 0 / 1 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.624e-05, allocations: 2.281 kB / 1 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.008177/0.008213, allocations: 4.518 MB / 1.005 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003792/0.01201, allocations: 2.461 MB / 1.007 GB, free: 15.17 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.0122, allocations: 0 / 1.007 GB, free: 15.17 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.01255, allocations: 39.75 kB / 1.007 GB, free: 15.13 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.01293, allocations: 103.2 kB / 1.007 GB, free: 15.03 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.01454, allocations: 0.5416 MB / 1.008 GB, free: 14.49 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.01487, allocations: 235.8 kB / 1.008 GB, free: 14.26 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.01493, allocations: 9.812 kB / 1.008 GB, free: 14.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.01523, allocations: 159.6 kB / 1.008 GB, free: 14.1 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.0154, allocations: 75.77 kB / 1.008 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.01544, allocations: 8 kB / 1.008 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007888/0.01623, allocations: 327.1 kB / 1.008 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.01633, allocations: 35.89 kB / 1.008 GB, free: 13.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.745e-05/0.01643, allocations: 63.83 kB / 1.008 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.01713, allocations: 378.9 kB / 1.009 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.01713, allocations: 0 / 1.009 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01713, allocations: 0 / 1.009 GB, free: 13.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.01715, allocations: 7.875 kB / 1.009 GB, free: 13.22 MB / 0.92 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.0009363/0.01808, allocations: 441.5 kB / 1.009 GB, free: 12.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.01813, allocations: 8.031 kB / 1.009 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.01831, allocations: 24.84 kB / 1.009 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.01864, allocations: 157.5 kB / 1.009 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.01866, allocations: 16.7 kB / 1.009 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.01869, allocations: 12.38 kB / 1.009 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.0193, allocations: 495.9 kB / 1.01 GB, free: 11.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01931, allocations: 192 / 1.01 GB, free: 11.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.01934, allocations: 16.06 kB / 1.01 GB, free: 11.94 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.01937, allocations: 12 kB / 1.01 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.01991, allocations: 419.5 kB / 1.01 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.02111, allocations: 0.7624 MB / 1.011 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.02147, allocations: 160.6 kB / 1.011 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.02158, allocations: 60.81 kB / 1.011 GB, free: 10.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/0.02234, allocations: 447.9 kB / 1.012 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.02238, allocations: 38.56 kB / 1.012 GB, free: 9.977 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.02239, allocations: 0 / 1.012 GB, free: 9.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.000373/0.02276, allocations: 144 kB / 1.012 GB, free: 9.832 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.02281, allocations: 59.39 kB / 1.012 GB, free: 9.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.02299, allocations: 157.4 kB / 1.012 GB, free: 9.602 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.02303, allocations: 37.69 kB / 1.012 GB, free: 9.559 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.02313, allocations: 148 kB / 1.012 GB, free: 9.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.02319, allocations: 51.59 kB / 1.012 GB, free: 9.359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.02326, allocations: 49.66 kB / 1.012 GB, free: 9.305 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.02343, allocations: 326.8 kB / 1.013 GB, free: 8.977 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.02351, allocations: 47.97 kB / 1.013 GB, free: 8.93 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.02367, allocations: 137.7 kB / 1.013 GB, free: 8.746 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.02394, allocations: 201.4 kB / 1.013 GB, free: 8.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.02394, allocations: 0 / 1.013 GB, free: 8.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003503/0.02429, allocations: 216.2 kB / 1.013 GB, free: 8.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.02431, allocations: 8 kB / 1.013 GB, free: 8.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.02433, allocations: 4 kB / 1.013 GB, free: 8.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.02435, allocations: 4 kB / 1.013 GB, free: 8.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.02454, allocations: 55.91 kB / 1.013 GB, free: 8.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.02455, allocations: 11.94 kB / 1.013 GB, free: 8.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.02467, allocations: 27.78 kB / 1.013 GB, free: 8.176 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.02469, allocations: 12 kB / 1.013 GB, free: 8.164 MB / 0.92 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.0001415/0.02483, allocations: 146.5 kB / 1.014 GB, free: 8.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.02488, allocations: 11.95 kB / 1.014 GB, free: 8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.02522, allocations: 162.2 kB / 1.014 GB, free: 7.836 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.02523, allocations: 4 kB / 1.014 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.02523, allocations: 0 / 1.014 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.02524, allocations: 0 / 1.014 GB, free: 7.832 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.02547, allocations: 149.2 kB / 1.014 GB, free: 7.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.02547, allocations: 0 / 1.014 GB, free: 7.656 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.02558, allocations: 31.92 kB / 1.014 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.02558, allocations: 0 / 1.014 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.0256, allocations: 12 kB / 1.014 GB, free: 7.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.0256, allocations: 0 / 1.014 GB, free: 7.613 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0256, allocations: 0 / 1.014 GB, free: 7.613 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.02589, allocations: 231.2 kB / 1.014 GB, free: 7.371 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.02596, allocations: 31.88 kB / 1.014 GB, free: 7.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.02599, allocations: 4 kB / 1.014 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.0262, allocations: 11.98 kB / 1.014 GB, free: 7.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.02623, allocations: 11.98 kB / 1.014 GB, free: 7.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.02625, allocations: 11.98 kB / 1.014 GB, free: 7.301 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.186e-05/0.02633, allocations: 109.9 kB / 1.014 GB, free: 7.195 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02633, allocations: 8 kB / 1.014 GB, free: 7.188 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004245/0.02676, allocations: 79.81 kB / 1.014 GB, free: 7.109 MB / 0.92 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.0003835/0.02714, allocations: 183 kB / 1.015 GB, free: 6.922 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.02742, allocations: 123.2 kB / 1.015 GB, free: 6.805 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.02742, allocations: 4 kB / 1.015 GB, free: 6.801 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.02749, allocations: 35.92 kB / 1.015 GB, free: 6.766 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.02791, allocations: 42.41 kB / 1.015 GB, free: 6.727 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.02869, allocations: 314.8 kB / 1.015 GB, free: 6.395 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.0288, allocations: 98.92 kB / 1.015 GB, free: 6.277 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.02896, allocations: 53.27 kB / 1.015 GB, free: 6.223 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.02902, allocations: 24.5 kB / 1.015 GB, free: 6.199 MB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.02902, allocations: 0 / 1.015 GB, free: 6.199 MB / 0.92 GB Notification: Performance of Templates: time 0.008513/0.03753, allocations: 3.116 MB / 1.018 GB, free: 3.145 MB / 0.92 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: 8.445560030639172]