Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001483/0.001483, allocations: 108.2 kB / 16.41 MB, free: 6.52 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.001712/0.001712, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6842/0.6855, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01492/0.7004, allocations: 12.97 MB / 1.101 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.7033, allocations: 2.669 MB / 1.104 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.7034, allocations: 0.8125 kB / 1.104 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.7037, allocations: 50.66 kB / 1.104 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.7039, allocations: 101.6 kB / 1.104 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.705, allocations: 0.5101 MB / 1.105 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.7053, allocations: 229.1 kB / 1.105 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.7054, allocations: 13.78 kB / 1.105 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009772/0.7151, allocations: 3.585 MB / 1.108 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.7153, allocations: 92.56 kB / 1.108 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.7154, allocations: 6.656 kB / 1.108 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.7182, allocations: 1.085 MB / 1.109 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.7183, allocations: 34.02 kB / 1.11 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.7184, allocations: 87.58 kB / 1.11 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.719, allocations: 363.5 kB / 1.11 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.719, allocations: 0 / 1.11 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.162e-06/0.719, allocations: 5.188 kB / 1.11 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.719, allocations: 0 / 1.11 GB, free: 8.145 MB / 0.8731 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.0006808/0.7197, allocations: 0.503 MB / 1.11 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.7198, allocations: 9.219 kB / 1.11 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.7199, allocations: 24.19 kB / 1.11 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.7202, allocations: 214.8 kB / 1.111 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.7202, allocations: 14.98 kB / 1.111 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.7202, allocations: 14.91 kB / 1.111 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.7206, allocations: 249.8 kB / 1.111 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7207, allocations: 4.938 kB / 1.111 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.7207, allocations: 7.094 kB / 1.111 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.7207, allocations: 7.422 kB / 1.111 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.7213, allocations: 440.4 kB / 1.111 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.7224, allocations: 0.951 MB / 1.112 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.7227, allocations: 158.6 kB / 1.112 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.7228, allocations: 66.05 kB / 1.113 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.7241, allocations: 1.835 MB / 1.114 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.7241, allocations: 39.97 kB / 1.114 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.7241, allocations: 1.344 kB / 1.114 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003237/0.7245, allocations: 138.6 kB / 1.114 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.7245, allocations: 56.47 kB / 1.115 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.7247, allocations: 179.4 kB / 1.115 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.7247, allocations: 32.88 kB / 1.115 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.7248, allocations: 140.8 kB / 1.115 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.7248, allocations: 55.25 kB / 1.115 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.7249, allocations: 49.31 kB / 1.115 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.725, allocations: 329.8 kB / 1.115 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.7251, allocations: 36.48 kB / 1.115 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.7252, allocations: 135.4 kB / 1.115 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.7254, allocations: 204.3 kB / 1.116 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7254, allocations: 0.6562 kB / 1.116 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003227/0.7258, allocations: 209.8 kB / 1.116 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7258, allocations: 13.06 kB / 1.116 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.7258, allocations: 4.094 kB / 1.116 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7258, allocations: 5.422 kB / 1.116 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.726, allocations: 55.55 kB / 1.116 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.726, allocations: 16.98 kB / 1.116 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.7261, allocations: 24.81 kB / 1.116 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.7262, allocations: 14.69 kB / 1.116 GB, free: 2.902 MB / 0.8731 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.0001008/0.7263, allocations: 132.2 kB / 1.116 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.7263, allocations: 16.19 kB / 1.116 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.7266, allocations: 157 kB / 1.116 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7267, allocations: 2.344 kB / 1.116 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.7267, allocations: 3.938 kB / 1.116 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.7268, allocations: 117.2 kB / 1.116 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.7268, allocations: 2.141 kB / 1.116 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.727, allocations: 13.31 kB / 1.116 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.727, allocations: 9.969 kB / 1.116 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002263/0.7273, allocations: 194.2 kB / 1.117 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002579/0.7275, allocations: 301.8 kB / 1.117 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.857e-05/0.7276, allocations: 42.94 kB / 1.117 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.302e-05/0.7277, allocations: 115.3 kB / 1.117 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of Backend: time 3.01e-07/0.7277, allocations: 1.25 kB / 1.117 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007938/0.7285, allocations: 347 kB / 1.117 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007399/0.7293, allocations: 0.7873 MB / 1.118 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of Templates: time 0.009419/0.7387, allocations: 5.163 MB / 1.123 GB, free: 0.5352 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches