Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_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.007314/0.007314, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.002106/0.002106, allocations: 194.4 kB / 16.68 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2764, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01683/0.2933, allocations: 12.98 MB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00306/0.2964, allocations: 2.656 MB / 1.181 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.2965, allocations: 4 kB / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.2968, allocations: 47.67 kB / 1.182 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.297, allocations: 99.41 kB / 1.182 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2981, allocations: 0.5034 MB / 1.182 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.2984, allocations: 235.9 kB / 1.182 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.2985, allocations: 13.55 kB / 1.182 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008253/0.3067, allocations: 3.571 MB / 1.186 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3069, allocations: 91.66 kB / 1.186 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.3069, allocations: 8 kB / 1.186 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.3094, allocations: 1.069 MB / 1.187 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.3095, allocations: 43.77 kB / 1.187 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.3096, allocations: 79.66 kB / 1.187 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008796/0.3105, allocations: 370.8 kB / 1.187 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3105, allocations: 4 kB / 1.187 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3105, allocations: 0 / 1.187 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.3105, allocations: 0 / 1.187 GB, free: 1.477 MB / 0.9356 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.001032/0.3116, allocations: 0.5025 MB / 1.188 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/0.3116, allocations: 8.031 kB / 1.188 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.326e-05/0.3117, allocations: 54.67 kB / 1.188 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.3119, allocations: 24.78 kB / 1.188 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.3123, allocations: 232.1 kB / 1.188 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3123, allocations: 8.703 kB / 1.188 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.3124, allocations: 20.38 kB / 1.188 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.3129, allocations: 236.1 kB / 1.189 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3129, allocations: 0 / 1.189 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.3129, allocations: 12 kB / 1.189 GB, free: 284 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.313, allocations: 11.94 kB / 1.189 GB, free: 272 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.3136, allocations: 427.5 kB / 1.189 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3149, allocations: 0.9644 MB / 1.19 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.3152, allocations: 163 kB / 1.19 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3154, allocations: 56.89 kB / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/0.3169, allocations: 1.833 MB / 1.192 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.317, allocations: 38.56 kB / 1.192 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.317, allocations: 0 / 1.192 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003539/0.3173, allocations: 151.5 kB / 1.192 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.3174, allocations: 55.41 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3176, allocations: 175.9 kB / 1.192 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3176, allocations: 29.7 kB / 1.192 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.3177, allocations: 140.1 kB / 1.192 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.3178, allocations: 59.56 kB / 1.193 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.3178, allocations: 57.64 kB / 1.193 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.318, allocations: 322.8 kB / 1.193 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.3181, allocations: 31.98 kB / 1.193 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.3182, allocations: 155.1 kB / 1.193 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3185, allocations: 197.5 kB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3185, allocations: 0 / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003453/0.3189, allocations: 215.9 kB / 1.193 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3189, allocations: 10.06 kB / 1.193 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3189, allocations: 7.984 kB / 1.193 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3189, allocations: 7.938 kB / 1.193 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3191, allocations: 51.92 kB / 1.194 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3191, allocations: 4 kB / 1.194 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3193, allocations: 27.78 kB / 1.194 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.3193, allocations: 19.98 kB / 1.194 GB, free: 10.49 MB / 0.9512 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.0001182/0.3194, allocations: 135.9 kB / 1.194 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.3195, allocations: 19.91 kB / 1.194 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.3198, allocations: 158.9 kB / 1.194 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3198, allocations: 3.938 kB / 1.194 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3198, allocations: 0 / 1.194 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3198, allocations: 7.969 kB / 1.194 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.3201, allocations: 209.5 kB / 1.194 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3201, allocations: 4 kB / 1.194 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.3202, allocations: 27.92 kB / 1.194 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3202, allocations: 4 kB / 1.194 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3202, allocations: 0 / 1.194 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.3202, allocations: 3.938 kB / 1.194 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3202, allocations: 4 kB / 1.194 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.3205, allocations: 224.6 kB / 1.194 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3206, allocations: 112.9 kB / 1.194 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3207, allocations: 0 / 1.194 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.3209, allocations: 19.92 kB / 1.194 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.3209, allocations: 7.984 kB / 1.194 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3209, allocations: 15.98 kB / 1.194 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.204e-05/0.321, allocations: 123.9 kB / 1.195 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.321, allocations: 0 / 1.195 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003941/0.3214, allocations: 79.88 kB / 1.195 GB, free: 9.258 MB / 0.9512 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.0007783/0.3222, allocations: 0.8324 MB / 1.195 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.3225, allocations: 116.5 kB / 1.196 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3225, allocations: 4.188 kB / 1.196 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.3226, allocations: 47.92 kB / 1.196 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.323, allocations: 55.89 kB / 1.196 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.3253, allocations: 2.042 MB / 1.198 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3257, allocations: 0.7168 MB / 1.198 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.3259, allocations: 53.66 kB / 1.198 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.3259, allocations: 51.42 kB / 1.199 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.326, allocations: 0 / 1.199 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.3531, allocations: 5.491 MB / 1.204 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.434, allocations: 3.953 kB / 1.204 GB, free: 15.77 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches