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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 114 kB / 16.42 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 183.9 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.626/2.626, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.89 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6587, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01526/0.674, allocations: 12.96 MB / 1.239 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.6769, allocations: 2.663 MB / 1.242 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.677, allocations: 0 / 1.242 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.6774, allocations: 51.67 kB / 1.242 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.6777, allocations: 95.42 kB / 1.242 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.679, allocations: 0.5117 MB / 1.242 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.6793, allocations: 235.9 kB / 1.243 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.6793, allocations: 17.55 kB / 1.243 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008505/0.6878, allocations: 3.586 MB / 1.246 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.688, allocations: 83.67 kB / 1.246 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.6881, allocations: 11.94 kB / 1.246 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.6906, allocations: 1.082 MB / 1.247 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.6907, allocations: 43.77 kB / 1.247 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.6908, allocations: 87.64 kB / 1.247 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007882/0.6916, allocations: 358.9 kB / 1.248 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6916, allocations: 0 / 1.248 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6916, allocations: 0 / 1.248 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.6916, allocations: 0 / 1.248 GB, free: 7.648 MB / 0.9669 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.0007247/0.6924, allocations: 0.5064 MB / 1.248 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.6924, allocations: 8.031 kB / 1.248 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.6926, allocations: 28.83 kB / 1.248 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.6929, allocations: 224.1 kB / 1.248 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.6929, allocations: 8.703 kB / 1.248 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.6929, allocations: 20.31 kB / 1.248 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.6933, allocations: 244.2 kB / 1.249 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6933, allocations: 4 kB / 1.249 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.6933, allocations: 8 kB / 1.249 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.6934, allocations: 11.98 kB / 1.249 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.6939, allocations: 431.4 kB / 1.249 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.6949, allocations: 0.9605 MB / 1.25 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.6952, allocations: 156.8 kB / 1.25 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.6953, allocations: 60.88 kB / 1.25 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.6966, allocations: 1.848 MB / 1.252 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.6967, allocations: 38.56 kB / 1.252 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.6967, allocations: 0 / 1.252 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003263/0.697, allocations: 139.7 kB / 1.252 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.697, allocations: 59.34 kB / 1.252 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.6972, allocations: 167.3 kB / 1.252 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.6972, allocations: 33.7 kB / 1.252 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.6973, allocations: 152 kB / 1.253 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.6974, allocations: 51.53 kB / 1.253 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.6974, allocations: 53.66 kB / 1.253 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.6975, allocations: 326.8 kB / 1.253 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.6976, allocations: 31.97 kB / 1.253 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.6977, allocations: 145.7 kB / 1.253 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.698, allocations: 200.3 kB / 1.253 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.698, allocations: 0 / 1.253 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000332/0.6983, allocations: 217.4 kB / 1.254 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.6983, allocations: 4 kB / 1.254 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.6983, allocations: 4 kB / 1.254 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.6984, allocations: 8 kB / 1.254 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.6985, allocations: 59.84 kB / 1.254 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.6986, allocations: 7.938 kB / 1.254 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.6987, allocations: 31.73 kB / 1.254 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.6987, allocations: 12 kB / 1.254 GB, free: 0.7188 MB / 0.9669 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.0001064/0.6988, allocations: 138.5 kB / 1.254 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.6989, allocations: 11.95 kB / 1.254 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.6992, allocations: 162.9 kB / 1.254 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6992, allocations: 3.938 kB / 1.254 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6992, allocations: 3.938 kB / 1.254 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.6993, allocations: 112.9 kB / 1.254 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.6993, allocations: 8 kB / 1.254 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.6995, allocations: 7.984 kB / 1.254 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.6996, allocations: 16 kB / 1.254 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002298/0.6998, allocations: 199.2 kB / 1.254 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002861/0.7001, allocations: 294.6 kB / 1.255 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.585e-05/0.7002, allocations: 35.92 kB / 1.255 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.7003, allocations: 123.9 kB / 1.255 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of Backend: time 3.31e-07/0.7003, allocations: 0 / 1.255 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008094/0.7011, allocations: 351.6 kB / 1.255 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007179/0.7018, allocations: 0.7815 MB / 1.256 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of Templates: time 0.009095/0.7109, allocations: 5.165 MB / 1.261 GB, free: 9.266 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches