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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007498/0.007498, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.00208/0.00208, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 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.798/2.798, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.23 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2774, allocations: 162.2 MB / 1.242 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01686/0.2943, allocations: 12.98 MB / 1.254 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003062/0.2973, allocations: 2.663 MB / 1.257 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.2975, allocations: 4 kB / 1.257 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.2977, allocations: 43.69 kB / 1.257 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.298, allocations: 99.34 kB / 1.257 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.2993, allocations: 0.5073 MB / 1.257 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.2996, allocations: 231.9 kB / 1.258 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.2996, allocations: 13.55 kB / 1.258 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008541/0.3082, allocations: 3.575 MB / 1.261 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.3084, allocations: 87.66 kB / 1.261 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.3084, allocations: 8 kB / 1.261 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.3108, allocations: 1.084 MB / 1.262 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.3109, allocations: 47.77 kB / 1.262 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.311, allocations: 79.66 kB / 1.262 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.3117, allocations: 362.8 kB / 1.263 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3117, allocations: 0 / 1.263 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3117, allocations: 0 / 1.263 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3117, allocations: 0 / 1.263 GB, free: 3.383 MB / 0.9825 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.0007833/0.3125, allocations: 0.5103 MB / 1.263 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3126, allocations: 8.031 kB / 1.263 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.294e-05/0.3126, allocations: 54.73 kB / 1.263 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3128, allocations: 24.78 kB / 1.263 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3131, allocations: 220.1 kB / 1.264 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3131, allocations: 8.703 kB / 1.264 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3132, allocations: 16.38 kB / 1.264 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.3136, allocations: 248 kB / 1.264 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3136, allocations: 0 / 1.264 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.3136, allocations: 8 kB / 1.264 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.3137, allocations: 11.94 kB / 1.264 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.3142, allocations: 431.5 kB / 1.264 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.3154, allocations: 0.9567 MB / 1.265 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.3157, allocations: 158.9 kB / 1.265 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3159, allocations: 68.88 kB / 1.265 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/0.3174, allocations: 1.833 MB / 1.267 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3175, allocations: 34.56 kB / 1.267 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.3175, allocations: 4 kB / 1.267 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003523/0.3178, allocations: 144 kB / 1.267 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.3179, allocations: 67.39 kB / 1.267 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.3181, allocations: 168.4 kB / 1.268 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3181, allocations: 33.7 kB / 1.268 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.3182, allocations: 148 kB / 1.268 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.3183, allocations: 47.59 kB / 1.268 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/0.3183, allocations: 57.64 kB / 1.268 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3185, allocations: 322.8 kB / 1.268 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.3186, allocations: 39.97 kB / 1.268 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3187, allocations: 137.7 kB / 1.268 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.319, allocations: 201.4 kB / 1.269 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.319, allocations: 0 / 1.269 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003612/0.3194, allocations: 223.5 kB / 1.269 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3194, allocations: 4 kB / 1.269 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3194, allocations: 4 kB / 1.269 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3194, allocations: 8.406 kB / 1.269 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3196, allocations: 55.92 kB / 1.269 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3196, allocations: 7.984 kB / 1.269 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3198, allocations: 27.78 kB / 1.269 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.3198, allocations: 16 kB / 1.269 GB, free: 12.4 MB / 0.9981 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.0001163/0.3199, allocations: 130.2 kB / 1.269 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.32, allocations: 15.91 kB / 1.269 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.3203, allocations: 158.9 kB / 1.269 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3203, allocations: 3.938 kB / 1.269 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3204, allocations: 7.922 kB / 1.269 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3204, allocations: 4 kB / 1.269 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.3206, allocations: 209.6 kB / 1.269 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3206, allocations: 4 kB / 1.269 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-05/0.3207, allocations: 27.92 kB / 1.269 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.3208, allocations: 4 kB / 1.269 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-06/0.3208, allocations: 0 / 1.269 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3208, allocations: 3.938 kB / 1.269 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3208, allocations: 3.984 kB / 1.269 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3211, allocations: 227.4 kB / 1.27 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3212, allocations: 112.9 kB / 1.27 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3212, allocations: 4 kB / 1.27 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.3214, allocations: 15.92 kB / 1.27 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.3215, allocations: 8 kB / 1.27 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.3215, allocations: 15.98 kB / 1.27 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001009/0.3216, allocations: 119.9 kB / 1.27 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3216, allocations: 0 / 1.27 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003988/0.322, allocations: 83.86 kB / 1.27 GB, free: 11.16 MB / 0.9981 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.0007694/0.3228, allocations: 0.8275 MB / 1.271 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.3231, allocations: 119.8 kB / 1.271 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3231, allocations: 0 / 1.271 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.3231, allocations: 49.83 kB / 1.271 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.3236, allocations: 56.83 kB / 1.271 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.3259, allocations: 2.059 MB / 1.273 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3263, allocations: 0.709 MB / 1.274 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.3265, allocations: 57.66 kB / 1.274 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.3266, allocations: 43.42 kB / 1.274 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.3266, allocations: 4 kB / 1.274 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.3527, allocations: 5.478 MB / 1.279 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.065, allocations: 20.09 kB / 1.279 GB, free: 1.676 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv","/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