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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009919/0.000992, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001321/0.001321, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.0005401, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.7811, allocations: 142.4 MB / 0.9544 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01405/0.7952, allocations: 12.01 MB / 0.9662 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002796/0.7981, allocations: 2.459 MB / 0.9686 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.7982, allocations: 4 kB / 0.9686 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.7984, allocations: 37.14 kB / 0.9686 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.7987, allocations: 82.22 kB / 0.9687 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.7999, allocations: 410.4 kB / 0.9691 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.8002, allocations: 274.7 kB / 0.9693 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.098e-05/0.8003, allocations: 8.094 kB / 0.9693 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.8114, allocations: 4.376 MB / 0.9736 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.8117, allocations: 91.19 kB / 0.9737 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.8118, allocations: 10.38 kB / 0.9737 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.8149, allocations: 0.9483 MB / 0.9746 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.815, allocations: 39.28 kB / 0.9747 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.8151, allocations: 52.05 kB / 0.9747 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.8157, allocations: 218.8 kB / 0.9749 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.8157, allocations: 1.375 kB / 0.9749 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8157, allocations: 0 / 0.9749 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.8157, allocations: 0 / 0.9749 GB, free: 9.391 MB / 0.7325 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.0008676/0.8166, allocations: 474.5 kB / 0.9754 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.8166, allocations: 8.156 kB / 0.9754 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.8168, allocations: 25.44 kB / 0.9754 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.8171, allocations: 212.2 kB / 0.9756 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.8171, allocations: 14.52 kB / 0.9756 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.8172, allocations: 13.78 kB / 0.9756 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.8177, allocations: 249.2 kB / 0.9759 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.8177, allocations: 0 / 0.9759 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.8177, allocations: 15.22 kB / 0.9759 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.8178, allocations: 4.562 kB / 0.9759 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/0.8184, allocations: 428.8 kB / 0.9763 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.8199, allocations: 0.9691 MB / 0.9773 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.8202, allocations: 164 kB / 0.9774 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.8204, allocations: 62.16 kB / 0.9775 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.822, allocations: 1.827 MB / 0.9793 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.822, allocations: 40.77 kB / 0.9793 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.8221, allocations: 1.062 kB / 0.9793 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003941/0.8225, allocations: 138.9 kB / 0.9794 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.8225, allocations: 57.66 kB / 0.9795 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.8227, allocations: 174.6 kB / 0.9797 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.8228, allocations: 28.02 kB / 0.9797 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.8229, allocations: 150.5 kB / 0.9798 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.8229, allocations: 50.8 kB / 0.9799 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.823, allocations: 5.438 kB / 0.9799 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.8231, allocations: 325.9 kB / 0.9802 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.8232, allocations: 32.05 kB / 0.9802 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.8233, allocations: 149.1 kB / 0.9804 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.8235, allocations: 53.78 kB / 0.9804 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.8235, allocations: 1.375 kB / 0.9804 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003389/0.8238, allocations: 207.9 kB / 0.9806 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.8238, allocations: 8.125 kB / 0.9806 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8239, allocations: 8 kB / 0.9806 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8239, allocations: 5.469 kB / 0.9806 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.8241, allocations: 52.77 kB / 0.9807 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.8241, allocations: 9.188 kB / 0.9807 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.8242, allocations: 37.2 kB / 0.9807 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.8243, allocations: 14.97 kB / 0.9807 GB, free: 3.898 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.8244, allocations: 138.2 kB / 0.9809 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.8244, allocations: 17.12 kB / 0.9809 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.8248, allocations: 150.9 kB / 0.981 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.8248, allocations: 2.938 kB / 0.981 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.8248, allocations: 3.984 kB / 0.981 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.8248, allocations: 1.062 kB / 0.981 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.8251, allocations: 220 kB / 0.9812 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8251, allocations: 0 / 0.9812 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.8252, allocations: 31.92 kB / 0.9813 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8252, allocations: 0 / 0.9813 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.8252, allocations: 0 / 0.9813 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8252, allocations: 0 / 0.9813 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8252, allocations: 7.984 kB / 0.9813 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.8255, allocations: 220.8 kB / 0.9815 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.8256, allocations: 112.9 kB / 0.9816 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.8256, allocations: 4 kB / 0.9816 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.8258, allocations: 19.92 kB / 0.9816 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.8259, allocations: 23.86 kB / 0.9817 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.8259, allocations: 8 kB / 0.9817 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.408e-05/0.826, allocations: 124.9 kB / 0.9818 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.826, allocations: 0 / 0.9818 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004144/0.8264, allocations: 87.97 kB / 0.9819 GB, free: 2.742 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000296/0.8267, allocations: 167.2 kB / 0.982 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.8269, allocations: 124.2 kB / 0.9821 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.827, allocations: 0 / 0.9821 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.326e-05/0.827, allocations: 47.91 kB / 0.9822 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.8275, allocations: 52.39 kB / 0.9822 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.8283, allocations: 435.3 kB / 0.9827 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.8286, allocations: 0.7133 MB / 0.9833 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.8288, allocations: 49.69 kB / 0.9834 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.8288, allocations: 23.42 kB / 0.9834 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.134e-06/0.8288, allocations: 4 kB / 0.9834 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of Templates: time 0.007274/0.8361, allocations: 3.384 MB / 0.9867 GB, free: 13.74 MB / 0.7481 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/jenkins/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