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.001072/0.001072, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.002911, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001125/0.001125, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002611, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9402/0.9402, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09581/1.036, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.769/2.769, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3008/3.07, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.013e-05, allocations: 2.312 kB / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004801/0.004821, allocations: 4.933 MB / 0.8238 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.007328, allocations: 2.862 MB / 0.8266 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.007403, allocations: 0 / 0.8266 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.007581, allocations: 43.73 kB / 0.8266 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.00775, allocations: 107.2 kB / 0.8267 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.008576, allocations: 0.5576 MB / 0.8273 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.008788, allocations: 251.8 kB / 0.8275 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.008833, allocations: 10.47 kB / 0.8275 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.009051, allocations: 171.5 kB / 0.8277 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.009167, allocations: 67.84 kB / 0.8277 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.009192, allocations: 11.94 kB / 0.8278 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.009621, allocations: 347.1 kB / 0.8281 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.009685, allocations: 27.88 kB / 0.8281 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.009733, allocations: 47.94 kB / 0.8282 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.01012, allocations: 315 kB / 0.8285 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.01014, allocations: 7.938 kB / 0.8285 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.01e-07/0.01014, allocations: 0 / 0.8285 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.01015, allocations: 4 kB / 0.8285 GB, free: 8.668 MB / 0.8073 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.0007005/0.01085, allocations: 0.5437 MB / 0.829 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.01089, allocations: 8.031 kB / 0.829 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.01103, allocations: 44.78 kB / 0.8291 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.01123, allocations: 161.5 kB / 0.8292 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.01125, allocations: 8.703 kB / 0.8292 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.01128, allocations: 20.38 kB / 0.8292 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.0116, allocations: 418.7 kB / 0.8296 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.01161, allocations: 4.172 kB / 0.8296 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.01163, allocations: 12.12 kB / 0.8296 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.01168, allocations: 7.938 kB / 0.8297 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.01192, allocations: 242.2 kB / 0.8299 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.01272, allocations: 0.6817 MB / 0.8306 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.01299, allocations: 168.9 kB / 0.8307 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.01304, allocations: 36.84 kB / 0.8307 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.01367, allocations: 462.1 kB / 0.8312 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.01371, allocations: 42.44 kB / 0.8312 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.01371, allocations: 4 kB / 0.8312 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002297/0.01394, allocations: 132.1 kB / 0.8314 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.01398, allocations: 59.39 kB / 0.8314 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.0141, allocations: 153.4 kB / 0.8316 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.01412, allocations: 29.7 kB / 0.8316 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.01421, allocations: 156 kB / 0.8317 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.01425, allocations: 55.52 kB / 0.8318 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.01431, allocations: 53.58 kB / 0.8318 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01442, allocations: 330.7 kB / 0.8322 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.01446, allocations: 26.81 kB / 0.8322 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.01455, allocations: 121.7 kB / 0.8323 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.01472, allocations: 203 kB / 0.8325 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01472, allocations: 0 / 0.8325 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002037/0.01493, allocations: 162 kB / 0.8326 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.01495, allocations: 4 kB / 0.8327 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01495, allocations: 4 kB / 0.8327 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.01498, allocations: 8 kB / 0.8327 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.01517, allocations: 68.36 kB / 0.8327 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01518, allocations: 15.94 kB / 0.8327 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.01525, allocations: 27.78 kB / 0.8328 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.01526, allocations: 8 kB / 0.8328 GB, free: 3.879 MB / 0.8073 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 9.388e-05/0.01535, allocations: 128.5 kB / 0.8329 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.01539, allocations: 19.98 kB / 0.8329 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.01558, allocations: 102.4 kB / 0.833 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.01559, allocations: 11.92 kB / 0.833 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01559, allocations: 0 / 0.833 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.0156, allocations: 0 / 0.833 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.01576, allocations: 109.8 kB / 0.8331 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.01576, allocations: 3.938 kB / 0.8331 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.342e-05/0.01585, allocations: 39.97 kB / 0.8332 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.01589, allocations: 19.94 kB / 0.8332 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01589, allocations: 4 kB / 0.8332 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.0159, allocations: 0 / 0.8332 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.0159, allocations: 0 / 0.8332 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.0159, allocations: 0 / 0.8332 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.01639, allocations: 244.8 kB / 0.8334 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.01641, allocations: 8 kB / 0.8334 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.01649, allocations: 8 kB / 0.8334 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.01651, allocations: 11.98 kB / 0.8335 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.01652, allocations: 11.98 kB / 0.8335 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.01655, allocations: 30.45 kB / 0.8335 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01655, allocations: 0 / 0.8335 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002412/0.01679, allocations: 83.81 kB / 0.8336 GB, free: 3.004 MB / 0.8073 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.0002706/0.01706, allocations: 164.2 kB / 0.8337 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.01721, allocations: 109.3 kB / 0.8338 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.01722, allocations: 8 kB / 0.8338 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.01726, allocations: 48.81 kB / 0.8339 GB, free: 2.668 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.01753, allocations: 155.5 kB / 0.834 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.0203, allocations: 339.4 kB / 0.8344 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.02035, allocations: 72 kB / 0.8344 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.485e-05/0.02044, allocations: 41.45 kB / 0.8345 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.02059, allocations: 117.2 kB / 0.8346 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.02059, allocations: 4 kB / 0.8346 GB, free: 1.891 MB / 0.8073 GB Notification: Performance of Templates: time 0.005098/0.02568, allocations: 3.497 MB / 0.838 GB, free: 14.43 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.WaterProperties/Buildings_latest_Buildings.Media.Examples.WaterProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.774965758435428]