Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001388/0.001388, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001461/0.001461, allocations: 169 kB / 23.27 MB, free: 1.219 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.9212/0.9212, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.315/2.315, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.185e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01176/0.01178, allocations: 12.88 MB / 0.9024 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.01385, allocations: 2.776 MB / 0.9051 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.01395, allocations: 4 kB / 0.9051 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.01422, allocations: 47.58 kB / 0.9051 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.01445, allocations: 107.2 kB / 0.9052 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.01551, allocations: 0.5287 MB / 0.9058 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.01574, allocations: 239.8 kB / 0.906 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.01578, allocations: 5.812 kB / 0.906 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005618/0.0214, allocations: 3.645 MB / 0.9095 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.02156, allocations: 87.7 kB / 0.9096 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.02158, allocations: 8 kB / 0.9096 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.02337, allocations: 1.038 MB / 0.9107 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.02345, allocations: 39.89 kB / 0.9107 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.02352, allocations: 67.83 kB / 0.9108 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.02409, allocations: 362.8 kB / 0.9111 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.02409, allocations: 0 / 0.9111 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.62e-07/0.02409, allocations: 0 / 0.9111 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.0241, allocations: 0 / 0.9111 GB, free: 3.738 MB / 0.8698 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.00057/0.02467, allocations: 0.5384 MB / 0.9116 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.02471, allocations: 8.625 kB / 0.9116 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.02486, allocations: 48.7 kB / 0.9117 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.02502, allocations: 160.4 kB / 0.9118 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.02504, allocations: 16.7 kB / 0.9119 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.02506, allocations: 20.38 kB / 0.9119 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.02532, allocations: 414.1 kB / 0.9123 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.02533, allocations: 192 / 0.9123 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.02534, allocations: 16.12 kB / 0.9123 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.02537, allocations: 8 kB / 0.9123 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.02558, allocations: 256.8 kB / 0.9125 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/0.02631, allocations: 0.9798 MB / 0.9135 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.02648, allocations: 131.2 kB / 0.9136 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.02652, allocations: 43.61 kB / 0.9137 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.02701, allocations: 0.5465 MB / 0.9142 GB, free: 372 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.02703, allocations: 37.39 kB / 0.9142 GB, free: 324 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.02703, allocations: 3.938 kB / 0.9142 GB, free: 320 kB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.000189/0.02722, allocations: 117.5 kB / 0.9143 GB, free: 196 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.02724, allocations: 55.41 kB / 0.9144 GB, free: 128 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.02736, allocations: 220.2 kB / 0.9146 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.02737, allocations: 29.7 kB / 0.9146 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.02744, allocations: 202.7 kB / 0.9148 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.02747, allocations: 55.53 kB / 0.9149 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.02752, allocations: 59.34 kB / 0.9149 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.02767, allocations: 0.5 MB / 0.9154 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.0277, allocations: 19.98 kB / 0.9154 GB, free: 15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.445e-05/0.02779, allocations: 170.9 kB / 0.9156 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.02793, allocations: 221.5 kB / 0.9158 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.02794, allocations: 4 kB / 0.9158 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001874/0.02812, allocations: 193.2 kB / 0.916 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.02814, allocations: 8 kB / 0.916 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.02814, allocations: 480 / 0.916 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.02816, allocations: 12 kB / 0.916 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.02827, allocations: 55.92 kB / 0.9161 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.02828, allocations: 11.92 kB / 0.9161 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.02834, allocations: 27.78 kB / 0.9161 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.02835, allocations: 20 kB / 0.9161 GB, free: 14.15 MB / 0.8855 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.005e-05/0.02843, allocations: 172.4 kB / 0.9163 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.02846, allocations: 19.95 kB / 0.9163 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.02865, allocations: 136.6 kB / 0.9165 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.02866, allocations: 0 / 0.9165 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.02866, allocations: 0 / 0.9165 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.02867, allocations: 15.97 kB / 0.9165 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.0288, allocations: 137.1 kB / 0.9166 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.0288, allocations: 0 / 0.9166 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.02886, allocations: 31.92 kB / 0.9166 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02886, allocations: 0 / 0.9166 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.02887, allocations: 8 kB / 0.9166 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.02887, allocations: 0 / 0.9166 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02887, allocations: 0 / 0.9166 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.02903, allocations: 259.7 kB / 0.9169 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.02907, allocations: 31.86 kB / 0.9169 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.02908, allocations: 8 kB / 0.9169 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.02916, allocations: 11.98 kB / 0.9169 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.02918, allocations: 15.92 kB / 0.9169 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.02919, allocations: 4 kB / 0.917 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.02924, allocations: 153 kB / 0.9171 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.02924, allocations: 3.938 kB / 0.9171 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002682/0.02951, allocations: 83.8 kB / 0.9172 GB, free: 13.02 MB / 0.8855 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.0002472/0.02976, allocations: 183 kB / 0.9174 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.0299, allocations: 108.2 kB / 0.9175 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0299, allocations: 0 / 0.9175 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.02994, allocations: 53.27 kB / 0.9175 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.03018, allocations: 47.83 kB / 0.9176 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.03083, allocations: 319.1 kB / 0.9179 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.03086, allocations: 71.94 kB / 0.9179 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000109/0.03097, allocations: 49.27 kB / 0.918 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.03113, allocations: 154.1 kB / 0.9181 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of SimCode: time 6.31e-07/0.03113, allocations: 0 / 0.9181 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of Templates: time 0.005258/0.03639, allocations: 3.781 MB / 0.9218 GB, free: 8.254 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.352478262968361]