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.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.001385/0.001385, allocations: 111.6 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.001384/0.001384, 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.401/1.401, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001935/0.001935, allocations: 67.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8486/0.8505, allocations: 163.8 MB / 1.263 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00509/0.8557, allocations: 4.73 MB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.8581, allocations: 2.7 MB / 1.27 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.8582, allocations: 1.688 kB / 1.27 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.8584, allocations: 49.44 kB / 1.27 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.8587, allocations: 101.3 kB / 1.27 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.8599, allocations: 0.4982 MB / 1.27 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.8602, allocations: 229.1 kB / 1.271 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.8602, allocations: 13.8 kB / 1.271 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.8604, allocations: 118.8 kB / 1.271 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.8606, allocations: 91.28 kB / 1.271 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.8606, allocations: 8.219 kB / 1.271 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007288/0.8614, allocations: 365.4 kB / 1.271 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.8614, allocations: 37.48 kB / 1.271 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.251e-05/0.8615, allocations: 80.05 kB / 1.271 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.8621, allocations: 370.2 kB / 1.272 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8621, allocations: 3.062 kB / 1.272 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.71e-07/0.8621, allocations: 0 / 1.272 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.8621, allocations: 1.156 kB / 1.272 GB, free: 1.809 MB / 0.9981 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.0006031/0.8627, allocations: 0.502 MB / 1.272 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.8628, allocations: 9.625 kB / 1.272 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.8629, allocations: 22.02 kB / 1.272 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.8632, allocations: 213.4 kB / 1.272 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.8632, allocations: 16.05 kB / 1.272 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.8632, allocations: 22.77 kB / 1.273 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.8636, allocations: 245 kB / 1.273 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.8636, allocations: 0.6562 kB / 1.273 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.8636, allocations: 11.09 kB / 1.273 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.8636, allocations: 6.891 kB / 1.273 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.8641, allocations: 427.2 kB / 1.273 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/0.865, allocations: 0.9439 MB / 1.274 GB, free: 48 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.8653, allocations: 172.6 kB / 1.274 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.8655, allocations: 61.34 kB / 1.274 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/0.867, allocations: 1.834 MB / 1.276 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.867, allocations: 37 kB / 1.276 GB, free: 13.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.867, allocations: 4 kB / 1.276 GB, free: 13.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0003464/0.8674, allocations: 144.3 kB / 1.276 GB, free: 13.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.8674, allocations: 57.25 kB / 1.276 GB, free: 13.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.8676, allocations: 173.5 kB / 1.276 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.8677, allocations: 27.48 kB / 1.277 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.8678, allocations: 146.7 kB / 1.277 GB, free: 13.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.8678, allocations: 58.19 kB / 1.277 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.8679, allocations: 51.69 kB / 1.277 GB, free: 13.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.868, allocations: 328.5 kB / 1.277 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.8681, allocations: 33.98 kB / 1.277 GB, free: 13.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.8683, allocations: 149 kB / 1.277 GB, free: 12.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.8686, allocations: 202.5 kB / 1.277 GB, free: 12.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8686, allocations: 0.75 kB / 1.277 GB, free: 12.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003437/0.8689, allocations: 212.9 kB / 1.278 GB, free: 12.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8689, allocations: 7.5 kB / 1.278 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.869, allocations: 8.609 kB / 1.278 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.869, allocations: 5.844 kB / 1.278 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.8691, allocations: 64.47 kB / 1.278 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.8692, allocations: 5.406 kB / 1.278 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.8693, allocations: 27.75 kB / 1.278 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.8693, allocations: 10.94 kB / 1.278 GB, free: 12.56 MB / 1.014 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.0001205/0.8694, allocations: 133 kB / 1.278 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.8695, allocations: 16.66 kB / 1.278 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.8698, allocations: 160.5 kB / 1.278 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.8698, allocations: 7.703 kB / 1.278 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8698, allocations: 0 / 1.278 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.8698, allocations: 1.312 kB / 1.278 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.8701, allocations: 219.8 kB / 1.278 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.8701, allocations: 0 / 1.278 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.8702, allocations: 25.73 kB / 1.278 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8702, allocations: 4.047 kB / 1.278 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.8702, allocations: 5.812 kB / 1.278 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.8702, allocations: 5.531 kB / 1.278 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8702, allocations: 4 kB / 1.278 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.8705, allocations: 219.1 kB / 1.279 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.8706, allocations: 107.7 kB / 1.279 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.8707, allocations: 7.344 kB / 1.279 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.8709, allocations: 15.38 kB / 1.279 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.8709, allocations: 11.12 kB / 1.279 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.8709, allocations: 12.53 kB / 1.279 GB, free: 11.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.119e-05/0.871, allocations: 126.1 kB / 1.279 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.871, allocations: 0 / 1.279 GB, free: 11.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003818/0.8714, allocations: 84.64 kB / 1.279 GB, free: 11.69 MB / 1.014 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.0002861/0.8717, allocations: 173.2 kB / 1.279 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.872, allocations: 125.9 kB / 1.279 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.872, allocations: 1.219 kB / 1.279 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.872, allocations: 45.03 kB / 1.279 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.8725, allocations: 54.73 kB / 1.279 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.8731, allocations: 363.4 kB / 1.28 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.8735, allocations: 0.7124 MB / 1.28 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.8735, allocations: 29.91 kB / 1.28 GB, free: 10.56 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.8735, allocations: 3.938 kB / 1.28 GB, free: 10.56 MB / 1.014 GB Notification: Performance of Templates: time 0.005552/0.8791, allocations: 3.184 MB / 1.283 GB, free: 10.17 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.15599807491526]