Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.00121/0.00121, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001339/0.001339, allocations: 165 kB / 23.82 MB, free: 0.7539 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 1.006/1.006, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.85/1.85, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 4 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.785e-05, allocations: 3.531 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0131/0.01312, allocations: 13.03 MB / 0.8243 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.01559, allocations: 2.784 MB / 0.827 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.01574, allocations: 7.938 kB / 0.827 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.01615, allocations: 51.61 kB / 0.8271 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.01647, allocations: 95.36 kB / 0.8272 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.01801, allocations: 0.5286 MB / 0.8277 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.01834, allocations: 243.8 kB / 0.8279 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.01838, allocations: 9.812 kB / 0.8279 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.02461, allocations: 3.64 MB / 0.8315 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.02477, allocations: 83.75 kB / 0.8316 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.02479, allocations: 8 kB / 0.8316 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.02674, allocations: 1.038 MB / 0.8326 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.02684, allocations: 39.83 kB / 0.8326 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.0269, allocations: 59.89 kB / 0.8327 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.02754, allocations: 370.8 kB / 0.833 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.02754, allocations: 0 / 0.833 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.463e-06/0.02754, allocations: 3.938 kB / 0.8331 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.02755, allocations: 0 / 0.8331 GB, free: 11.65 MB / 0.7917 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.0007056/0.02825, allocations: 0.5346 MB / 0.8336 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.0283, allocations: 8.031 kB / 0.8336 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.02848, allocations: 52.7 kB / 0.8336 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.0287, allocations: 164.4 kB / 0.8338 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.02871, allocations: 12.7 kB / 0.8338 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.02874, allocations: 16.38 kB / 0.8338 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.0291, allocations: 434.1 kB / 0.8342 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.02913, allocations: 4.125 kB / 0.8342 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.02915, allocations: 16.12 kB / 0.8342 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.0292, allocations: 4 kB / 0.8343 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.02978, allocations: 296 kB / 0.8345 GB, free: 9.992 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.03065, allocations: 1.007 MB / 0.8355 GB, free: 8.93 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.03089, allocations: 135.9 kB / 0.8356 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.03095, allocations: 48.59 kB / 0.8357 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/0.0315, allocations: 0.5348 MB / 0.8362 GB, free: 8.18 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.03153, allocations: 41.39 kB / 0.8363 GB, free: 8.129 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.03153, allocations: 4 kB / 0.8363 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0002544/0.03179, allocations: 133.5 kB / 0.8364 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.03181, allocations: 55.41 kB / 0.8364 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.03193, allocations: 212.8 kB / 0.8366 GB, free: 7.699 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.03194, allocations: 33.64 kB / 0.8367 GB, free: 7.66 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.03202, allocations: 194.8 kB / 0.8369 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.03206, allocations: 55.53 kB / 0.8369 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.03212, allocations: 59.31 kB / 0.837 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.03223, allocations: 0.4961 MB / 0.8375 GB, free: 6.832 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.03228, allocations: 27.98 kB / 0.8375 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.0324, allocations: 183 kB / 0.8377 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.03257, allocations: 232.1 kB / 0.8379 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.03258, allocations: 0 / 0.8379 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002384/0.03282, allocations: 212.3 kB / 0.8381 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.03283, allocations: 8 kB / 0.8381 GB, free: 6.047 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.03284, allocations: 4 kB / 0.8381 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.03286, allocations: 4 kB / 0.8381 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.03298, allocations: 59.86 kB / 0.8382 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.03299, allocations: 7.984 kB / 0.8382 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.03307, allocations: 31.72 kB / 0.8382 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.03309, allocations: 19.98 kB / 0.8382 GB, free: 5.922 MB / 0.7917 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.789e-05/0.03319, allocations: 176.7 kB / 0.8384 GB, free: 5.738 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.03322, allocations: 19.91 kB / 0.8384 GB, free: 5.719 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.03343, allocations: 146 kB / 0.8385 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.03344, allocations: 0 / 0.8385 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.03345, allocations: 0 / 0.8385 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.03345, allocations: 3.984 kB / 0.8385 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.03361, allocations: 172.4 kB / 0.8387 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.03361, allocations: 0 / 0.8387 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.03368, allocations: 31.98 kB / 0.8387 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.03369, allocations: 0 / 0.8387 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.03369, allocations: 0 / 0.8387 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.0337, allocations: 8 kB / 0.8387 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0337, allocations: 0 / 0.8387 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.03387, allocations: 263.7 kB / 0.839 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.03392, allocations: 35.86 kB / 0.839 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.03394, allocations: 4 kB / 0.839 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.03402, allocations: 4 kB / 0.839 GB, free: 5.004 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.03405, allocations: 15.97 kB / 0.839 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.03406, allocations: 12 kB / 0.8391 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.03413, allocations: 151.2 kB / 0.8392 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.03413, allocations: 0 / 0.8392 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000272/0.0344, allocations: 87.77 kB / 0.8393 GB, free: 4.742 MB / 0.7917 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.0002767/0.03468, allocations: 195 kB / 0.8395 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.03488, allocations: 118.1 kB / 0.8396 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.03489, allocations: 4 kB / 0.8396 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.03494, allocations: 51.53 kB / 0.8396 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.03521, allocations: 44.84 kB / 0.8397 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.03601, allocations: 315.1 kB / 0.84 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.664e-05/0.03605, allocations: 71.98 kB / 0.8401 GB, free: 3.895 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.03616, allocations: 41.28 kB / 0.8401 GB, free: 3.855 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.0362, allocations: 36.48 kB / 0.8401 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of SimCode: time 6.51e-07/0.0362, allocations: 0 / 0.8401 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of Templates: time 0.006512/0.04271, allocations: 3.836 MB / 0.8439 GB, free: 64 kB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.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.2655708361417055]