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.0009544/0.0009544, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009417/0.0009417, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9104/0.9104, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.337/2.337, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.[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.282e-06/1.282e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.387e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004242/0.004256, allocations: 4.863 MB / 0.8434 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.006053, allocations: 2.858 MB / 0.8461 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.006108, allocations: 0 / 0.8461 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.006309, allocations: 51.67 kB / 0.8462 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.006496, allocations: 107.3 kB / 0.8463 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.007137, allocations: 0.5638 MB / 0.8468 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.007314, allocations: 251.8 kB / 0.8471 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.007346, allocations: 10.41 kB / 0.8471 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.007513, allocations: 171.5 kB / 0.8473 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.72e-05/0.00761, allocations: 71.78 kB / 0.8473 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.00763, allocations: 8 kB / 0.8473 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.007984, allocations: 323.2 kB / 0.8476 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.008042, allocations: 39.83 kB / 0.8477 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.008093, allocations: 71.81 kB / 0.8477 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.008457, allocations: 358.9 kB / 0.8481 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.008459, allocations: 3.938 kB / 0.8481 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.008459, allocations: 0 / 0.8481 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.008462, allocations: 0 / 0.8481 GB, free: 4.406 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.0004567/0.008919, allocations: 423.6 kB / 0.8485 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.008946, allocations: 8.625 kB / 0.8485 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.009052, allocations: 48.83 kB / 0.8486 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.009448, allocations: 149.5 kB / 0.8487 GB, free: 3.738 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.009459, allocations: 8.703 kB / 0.8487 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.009482, allocations: 24.36 kB / 0.8487 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.009717, allocations: 414.8 kB / 0.8491 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.009726, allocations: 192 / 0.8491 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.009742, allocations: 12.12 kB / 0.8491 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.009765, allocations: 4 kB / 0.8491 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.00996, allocations: 243.9 kB / 0.8494 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/0.01054, allocations: 0.6855 MB / 0.85 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.01069, allocations: 168.9 kB / 0.8502 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.01073, allocations: 32.84 kB / 0.8502 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/0.01113, allocations: 477.9 kB / 0.8507 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.01115, allocations: 38.56 kB / 0.8507 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.01115, allocations: 0 / 0.8507 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001451/0.01129, allocations: 140.8 kB / 0.8509 GB, free: 1.375 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.01132, allocations: 55.41 kB / 0.8509 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.0114, allocations: 158.5 kB / 0.8511 GB, free: 1.141 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01141, allocations: 29.7 kB / 0.8511 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.01147, allocations: 148 kB / 0.8512 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.01149, allocations: 51.58 kB / 0.8513 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.01153, allocations: 49.62 kB / 0.8513 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.0116, allocations: 334.7 kB / 0.8516 GB, free: 0.5156 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.01162, allocations: 26.81 kB / 0.8517 GB, free: 500 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.01169, allocations: 125.6 kB / 0.8518 GB, free: 324 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.0118, allocations: 183.1 kB / 0.852 GB, free: 88 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0118, allocations: 0 / 0.852 GB, free: 88 kB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001421/0.01195, allocations: 160.4 kB / 0.8521 GB, free: 15.92 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01196, allocations: 8 kB / 0.8521 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01196, allocations: 4 kB / 0.8521 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01197, allocations: 4 kB / 0.8521 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01208, allocations: 59.91 kB / 0.8522 GB, free: 15.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.01209, allocations: 7.938 kB / 0.8522 GB, free: 15.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.01214, allocations: 27.78 kB / 0.8522 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01215, allocations: 15.94 kB / 0.8522 GB, free: 15.8 MB / 0.823 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 6.718e-05/0.01222, allocations: 136.7 kB / 0.8524 GB, free: 15.65 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.01224, allocations: 15.98 kB / 0.8524 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.01238, allocations: 112.6 kB / 0.8525 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.01239, allocations: 7.922 kB / 0.8525 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01239, allocations: 0 / 0.8525 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01239, allocations: 0 / 0.8525 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.01251, allocations: 109.8 kB / 0.8526 GB, free: 15.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01251, allocations: 3.938 kB / 0.8526 GB, free: 15.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.01257, allocations: 31.98 kB / 0.8526 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01257, allocations: 0 / 0.8526 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.01257, allocations: 0 / 0.8526 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01257, allocations: 4 kB / 0.8526 GB, free: 15.35 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01257, allocations: 0 / 0.8526 GB, free: 15.35 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.01269, allocations: 230.2 kB / 0.8529 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.01272, allocations: 35.77 kB / 0.8529 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.01274, allocations: 4 kB / 0.8529 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.01281, allocations: 11.98 kB / 0.8529 GB, free: 15.06 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.01283, allocations: 11.98 kB / 0.8529 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01284, allocations: 7.969 kB / 0.8529 GB, free: 15.04 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.01286, allocations: 31.48 kB / 0.853 GB, free: 15.01 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01286, allocations: 0 / 0.853 GB, free: 15.01 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002116/0.01308, allocations: 87.84 kB / 0.853 GB, free: 14.92 MB / 0.823 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.0002006/0.01328, allocations: 160.1 kB / 0.8532 GB, free: 14.75 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.01339, allocations: 99.02 kB / 0.8533 GB, free: 14.66 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.01339, allocations: 3.938 kB / 0.8533 GB, free: 14.65 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.01342, allocations: 37.72 kB / 0.8533 GB, free: 14.61 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.0136, allocations: 47.89 kB / 0.8534 GB, free: 14.57 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.01418, allocations: 334.8 kB / 0.8537 GB, free: 14.21 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.384e-05/0.01422, allocations: 72.28 kB / 0.8538 GB, free: 14.12 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.01431, allocations: 45.39 kB / 0.8538 GB, free: 14.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.01445, allocations: 121.3 kB / 0.8539 GB, free: 13.96 MB / 0.823 GB Notification: Performance of SimCode: time 4.41e-07/0.01445, allocations: 0 / 0.8539 GB, free: 13.96 MB / 0.823 GB Notification: Performance of Templates: time 0.00474/0.01919, allocations: 3.449 MB / 0.8573 GB, free: 10.55 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 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.21425440069288]