Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009344/0.0009344, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009479/0.0009479, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9954/0.9954, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.918/1.918, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.[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_12_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_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.522e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.01216/0.01219, allocations: 4.931 MB / 0.7649 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005567/0.01776, allocations: 2.857 MB / 0.7677 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.01784, allocations: 0 / 0.7677 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.01809, allocations: 43.64 kB / 0.7677 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.01833, allocations: 112.8 kB / 0.7678 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.02012, allocations: 0.5563 MB / 0.7684 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.02039, allocations: 251.7 kB / 0.7686 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.02043, allocations: 15.73 kB / 0.7686 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.02064, allocations: 151.6 kB / 0.7688 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.02077, allocations: 84.42 kB / 0.7689 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.02079, allocations: 8 kB / 0.7689 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.02134, allocations: 339.9 kB / 0.7692 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.0214, allocations: 39.88 kB / 0.7692 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.02147, allocations: 64.98 kB / 0.7693 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.02194, allocations: 358.9 kB / 0.7696 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.02195, allocations: 4 kB / 0.7696 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.273e-06/0.02195, allocations: 1 kB / 0.7696 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.02195, allocations: 0 / 0.7696 GB, free: 12.82 MB / 0.7292 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.0005976/0.02255, allocations: 424.6 kB / 0.77 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.02258, allocations: 8.031 kB / 0.77 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.02274, allocations: 37.67 kB / 0.7701 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.02292, allocations: 151 kB / 0.7702 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.02293, allocations: 16.7 kB / 0.7702 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.02296, allocations: 16.38 kB / 0.7703 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.02325, allocations: 410.7 kB / 0.7706 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.02326, allocations: 4.688 kB / 0.7706 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.02328, allocations: 12.12 kB / 0.7707 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.02331, allocations: 8.875 kB / 0.7707 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.02357, allocations: 245.1 kB / 0.7709 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.02425, allocations: 0.6903 MB / 0.7716 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.02443, allocations: 154.1 kB / 0.7717 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.02448, allocations: 36.81 kB / 0.7718 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.025, allocations: 472.7 kB / 0.7722 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.02502, allocations: 34.56 kB / 0.7722 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.02502, allocations: 0 / 0.7722 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001801/0.0252, allocations: 145.5 kB / 0.7724 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.02523, allocations: 55.41 kB / 0.7724 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.02532, allocations: 157.6 kB / 0.7726 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.02534, allocations: 37.48 kB / 0.7726 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.0254, allocations: 152 kB / 0.7728 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.02543, allocations: 43.59 kB / 0.7728 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.02549, allocations: 61.62 kB / 0.7729 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.02558, allocations: 326.8 kB / 0.7732 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.02561, allocations: 30.75 kB / 0.7732 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.02569, allocations: 133.6 kB / 0.7733 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.02584, allocations: 173.1 kB / 0.7735 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.02584, allocations: 4 kB / 0.7735 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001978/0.02604, allocations: 167.2 kB / 0.7737 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.02606, allocations: 8 kB / 0.7737 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.02606, allocations: 0 / 0.7737 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.02608, allocations: 8 kB / 0.7737 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.02625, allocations: 59.91 kB / 0.7737 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.02626, allocations: 4 kB / 0.7737 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.02634, allocations: 27.78 kB / 0.7738 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.02635, allocations: 16.62 kB / 0.7738 GB, free: 8.234 MB / 0.7292 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 8.653e-05/0.02644, allocations: 137 kB / 0.7739 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.02647, allocations: 16.72 kB / 0.7739 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.02665, allocations: 114.3 kB / 0.774 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.02665, allocations: 5.062 kB / 0.774 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.02666, allocations: 0 / 0.774 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.02666, allocations: 0 / 0.774 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.0268, allocations: 106.7 kB / 0.7741 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02681, allocations: 3.938 kB / 0.7741 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.02691, allocations: 44.53 kB / 0.7742 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.02691, allocations: 1.031 kB / 0.7742 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.02691, allocations: 0 / 0.7742 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.02692, allocations: 0 / 0.7742 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02692, allocations: 0.9375 kB / 0.7742 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.02706, allocations: 228.9 kB / 0.7744 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.0271, allocations: 31.8 kB / 0.7744 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.02712, allocations: 0.75 kB / 0.7744 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.02722, allocations: 12.94 kB / 0.7745 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.02724, allocations: 11.97 kB / 0.7745 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.02726, allocations: 8 kB / 0.7745 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.02729, allocations: 33.61 kB / 0.7745 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02729, allocations: 4 kB / 0.7745 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003095/0.0276, allocations: 84.83 kB / 0.7746 GB, free: 7.363 MB / 0.7292 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.0002573/0.02786, allocations: 168.2 kB / 0.7747 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.028, allocations: 95.16 kB / 0.7748 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.02801, allocations: 4 kB / 0.7748 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.02805, allocations: 38.2 kB / 0.7749 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.0283, allocations: 49.44 kB / 0.7749 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.02902, allocations: 323.3 kB / 0.7752 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.02907, allocations: 75.98 kB / 0.7753 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.02919, allocations: 42.34 kB / 0.7753 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.02938, allocations: 118.2 kB / 0.7755 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.02938, allocations: 0 / 0.7755 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of Templates: time 0.005801/0.03518, allocations: 3.428 MB / 0.7788 GB, free: 3.129 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.049477994907647]