Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001398/0.001398, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001641/0.001641, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.488/1.488, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.77/2.77, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.748e-05/3.991e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.01356/0.0136, allocations: 4.503 MB / 0.9554 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006581/0.02018, allocations: 2.461 MB / 0.9578 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.02037, allocations: 3.938 kB / 0.9578 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.02083, allocations: 43.69 kB / 0.9578 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.0214, allocations: 103.2 kB / 0.9579 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.02441, allocations: 0.5372 MB / 0.9585 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005992/0.02501, allocations: 251.7 kB / 0.9587 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.02509, allocations: 5.812 kB / 0.9587 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.02572, allocations: 155.6 kB / 0.9588 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.026, allocations: 83.77 kB / 0.9589 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.02605, allocations: 8 kB / 0.9589 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.02735, allocations: 315.1 kB / 0.9592 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.02749, allocations: 35.89 kB / 0.9593 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.02766, allocations: 63.83 kB / 0.9593 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.02884, allocations: 382.9 kB / 0.9597 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.02885, allocations: 0 / 0.9597 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.02885, allocations: 0 / 0.9597 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.02886, allocations: 0 / 0.9597 GB, free: 2.605 MB / 0.8575 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.001343/0.0302, allocations: 445.4 kB / 0.9601 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.03026, allocations: 8.031 kB / 0.9601 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.03059, allocations: 28.73 kB / 0.9602 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.03108, allocations: 161.5 kB / 0.9603 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.03111, allocations: 8.703 kB / 0.9603 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.03115, allocations: 24.31 kB / 0.9603 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008513/0.032, allocations: 488 kB / 0.9608 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.03201, allocations: 192 / 0.9608 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.03206, allocations: 12.12 kB / 0.9608 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.0321, allocations: 7.984 kB / 0.9608 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.03296, allocations: 427.3 kB / 0.9612 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.03488, allocations: 0.7663 MB / 0.962 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.03548, allocations: 146.5 kB / 0.9621 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.03567, allocations: 60.88 kB / 0.9622 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.03695, allocations: 451.7 kB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.03699, allocations: 38.55 kB / 0.9626 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.03699, allocations: 0 / 0.9626 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0005422/0.03753, allocations: 143.8 kB / 0.9628 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.0376, allocations: 51.41 kB / 0.9628 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.03782, allocations: 163.9 kB / 0.963 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.03787, allocations: 33.7 kB / 0.963 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.03801, allocations: 159.9 kB / 0.9632 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.03807, allocations: 51.59 kB / 0.9632 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.03818, allocations: 53.66 kB / 0.9633 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.03837, allocations: 326.8 kB / 0.9636 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.03849, allocations: 31.98 kB / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.03873, allocations: 146.1 kB / 0.9638 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.03912, allocations: 194.9 kB / 0.9639 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.03913, allocations: 0 / 0.9639 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005673/0.0397, allocations: 217.2 kB / 0.9641 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.03972, allocations: 8 kB / 0.9642 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.03973, allocations: 0 / 0.9642 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.03975, allocations: 12 kB / 0.9642 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.04004, allocations: 52.39 kB / 0.9642 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.04006, allocations: 11.98 kB / 0.9642 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.04024, allocations: 27.78 kB / 0.9643 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.04027, allocations: 16 kB / 0.9643 GB, free: 13.55 MB / 0.8731 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.0001813/0.04045, allocations: 140.2 kB / 0.9644 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/0.04054, allocations: 15.91 kB / 0.9644 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.04101, allocations: 156.8 kB / 0.9646 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.04103, allocations: 3.984 kB / 0.9646 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.04103, allocations: 0 / 0.9646 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.04104, allocations: 0 / 0.9646 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.04137, allocations: 157.2 kB / 0.9647 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.04137, allocations: 4 kB / 0.9647 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.04154, allocations: 27.98 kB / 0.9648 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.04155, allocations: 0 / 0.9648 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.04156, allocations: 7.938 kB / 0.9648 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.04157, allocations: 4 kB / 0.9648 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.04157, allocations: 0 / 0.9648 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.04199, allocations: 223.3 kB / 0.965 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.04209, allocations: 23.92 kB / 0.965 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.04213, allocations: 8 kB / 0.965 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.04245, allocations: 11.98 kB / 0.965 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.04249, allocations: 15.98 kB / 0.965 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.04253, allocations: 7.984 kB / 0.965 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001161/0.04264, allocations: 113.9 kB / 0.9651 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.04264, allocations: 3.938 kB / 0.9652 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006762/0.04332, allocations: 87.75 kB / 0.9652 GB, free: 12.5 MB / 0.8731 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.000617/0.04394, allocations: 191 kB / 0.9654 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.04424, allocations: 117 kB / 0.9655 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.04425, allocations: 0 / 0.9655 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.04432, allocations: 35.98 kB / 0.9656 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.04475, allocations: 52.78 kB / 0.9656 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.04554, allocations: 306.3 kB / 0.9659 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.04566, allocations: 106.9 kB / 0.966 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.04585, allocations: 45.33 kB / 0.9661 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.0459, allocations: 20.5 kB / 0.9661 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.0459, allocations: 0 / 0.9661 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.008036/0.05394, allocations: 3.13 MB / 0.9691 GB, free: 8.531 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_11_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.083985690027475]