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.001027/0.001027, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008095/0.008095, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.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.444/2.444, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 8 kB / 0.8159 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.681, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01787/0.6989, allocations: 13.37 MB / 0.9681 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003079/0.702, allocations: 2.656 MB / 0.9707 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.7022, allocations: 1.688 kB / 0.9707 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.7024, allocations: 46.75 kB / 0.9707 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.7027, allocations: 87.16 kB / 0.9708 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.704, allocations: 457.1 kB / 0.9712 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.7043, allocations: 309.7 kB / 0.9715 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.7044, allocations: 13.5 kB / 0.9716 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008494/0.7129, allocations: 3.158 MB / 0.9746 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.7132, allocations: 94.09 kB / 0.9747 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.7132, allocations: 7.125 kB / 0.9747 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.716, allocations: 0.9666 MB / 0.9757 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.7161, allocations: 39.27 kB / 0.9757 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.7162, allocations: 105.8 kB / 0.9758 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009791/0.7172, allocations: 366.6 kB / 0.9762 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7172, allocations: 0 / 0.9762 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.067e-06/0.7172, allocations: 0.9375 kB / 0.9762 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.7172, allocations: 3.938 kB / 0.9762 GB, free: 7.512 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.0009422/0.7182, allocations: 460.3 kB / 0.9766 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7182, allocations: 13.53 kB / 0.9766 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.7184, allocations: 26.83 kB / 0.9766 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.7187, allocations: 216.1 kB / 0.9769 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.7187, allocations: 15.22 kB / 0.9769 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.7188, allocations: 22.69 kB / 0.9769 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.7192, allocations: 241.2 kB / 0.9771 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.7192, allocations: 5 kB / 0.9771 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.7193, allocations: 11.16 kB / 0.9771 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.7193, allocations: 5.312 kB / 0.9771 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/0.7199, allocations: 437 kB / 0.9776 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.7212, allocations: 0.9633 MB / 0.9785 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.7215, allocations: 161.7 kB / 0.9787 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.7216, allocations: 68.31 kB / 0.9787 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00149/0.7231, allocations: 1.831 MB / 0.9805 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.7231, allocations: 33.28 kB / 0.9805 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.7232, allocations: 3.938 kB / 0.9805 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000355/0.7235, allocations: 150.7 kB / 0.9807 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.7236, allocations: 56.53 kB / 0.9807 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.7237, allocations: 164.8 kB / 0.9809 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.7238, allocations: 31.08 kB / 0.9809 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.7239, allocations: 143.5 kB / 0.9811 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.7239, allocations: 57.56 kB / 0.9811 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.724, allocations: 24.86 kB / 0.9811 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7241, allocations: 325.9 kB / 0.9815 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.7242, allocations: 34.27 kB / 0.9815 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.7243, allocations: 144.4 kB / 0.9816 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.7246, allocations: 191.2 kB / 0.9818 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7246, allocations: 2.031 kB / 0.9818 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003494/0.7249, allocations: 221.7 kB / 0.982 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.725, allocations: 6.406 kB / 0.982 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.725, allocations: 6.734 kB / 0.982 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.725, allocations: 6.531 kB / 0.982 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.7252, allocations: 51.7 kB / 0.9821 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.7252, allocations: 5.094 kB / 0.9821 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.7253, allocations: 29.84 kB / 0.9821 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.7254, allocations: 26.78 kB / 0.9821 GB, free: 1.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.7255, allocations: 130.4 kB / 0.9823 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.7256, allocations: 13.06 kB / 0.9823 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.7259, allocations: 152.6 kB / 0.9824 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.7259, allocations: 5.375 kB / 0.9824 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7259, allocations: 1.562 kB / 0.9824 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.7259, allocations: 3.984 kB / 0.9824 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.7262, allocations: 217.2 kB / 0.9826 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7262, allocations: 4.969 kB / 0.9827 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.7263, allocations: 30.64 kB / 0.9827 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7263, allocations: 1.469 kB / 0.9827 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.7263, allocations: 1.344 kB / 0.9827 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7263, allocations: 5.094 kB / 0.9827 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7263, allocations: 0 / 0.9827 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.7266, allocations: 226.3 kB / 0.9829 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.7267, allocations: 106.1 kB / 0.983 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.7267, allocations: 17.08 kB / 0.983 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.727, allocations: 20.3 kB / 0.983 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.727, allocations: 9.062 kB / 0.983 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.727, allocations: 14.83 kB / 0.9831 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.999e-05/0.7272, allocations: 120.2 kB / 0.9832 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7272, allocations: 0 / 0.9832 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004366/0.7276, allocations: 78.86 kB / 0.9833 GB, free: 0.9102 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 (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.0003547/0.728, allocations: 192.2 kB / 0.9834 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.7282, allocations: 127.2 kB / 0.9836 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7282, allocations: 0 / 0.9836 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.7283, allocations: 44.89 kB / 0.9836 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.7288, allocations: 58 kB / 0.9837 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.7295, allocations: 430.1 kB / 0.9841 GB, free: 360 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.7299, allocations: 0.7135 MB / 0.9848 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.7301, allocations: 46.12 kB / 0.9848 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.7301, allocations: 26.16 kB / 0.9848 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.7301, allocations: 4 kB / 0.9848 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.00758/0.7377, allocations: 3.516 MB / 0.9883 GB, free: 12.38 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