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.007073/0.007073, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.001834/0.001834, allocations: 201.5 kB / 16.68 MB, free: 6.375 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.367/1.367, 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.55/2.55, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.89 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.264, allocations: 151.6 MB / 1.166 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01478/0.2788, allocations: 12.97 MB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.2814, allocations: 2.667 MB / 1.181 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.2815, allocations: 0 / 1.181 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.2818, allocations: 43.69 kB / 1.182 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.282, allocations: 111.3 kB / 1.182 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.283, allocations: 0.5127 MB / 1.182 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.2833, allocations: 235.9 kB / 1.182 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.2833, allocations: 13.55 kB / 1.182 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007511/0.2908, allocations: 3.576 MB / 1.186 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.291, allocations: 95.59 kB / 1.186 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.291, allocations: 8 kB / 1.186 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.2932, allocations: 1.074 MB / 1.187 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.2933, allocations: 39.83 kB / 1.187 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.2934, allocations: 79.66 kB / 1.187 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.2939, allocations: 374.7 kB / 1.187 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2939, allocations: 0 / 1.187 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.647e-06/0.2939, allocations: 4 kB / 1.187 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.294, allocations: 0 / 1.187 GB, free: 1.324 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.0007523/0.2947, allocations: 0.5025 MB / 1.188 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2948, allocations: 12.03 kB / 1.188 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.2948, allocations: 46.73 kB / 1.188 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.295, allocations: 24.84 kB / 1.188 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.2953, allocations: 216.1 kB / 1.188 GB, free: 444 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2953, allocations: 16.64 kB / 1.188 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.2954, allocations: 20.38 kB / 1.188 GB, free: 408 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.2957, allocations: 240 kB / 1.189 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2957, allocations: 4 kB / 1.189 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2957, allocations: 8 kB / 1.189 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.2958, allocations: 8 kB / 1.189 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.2963, allocations: 431.5 kB / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.2973, allocations: 0.9566 MB / 1.19 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.2976, allocations: 171 kB / 1.19 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2977, allocations: 64.88 kB / 1.19 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.2989, allocations: 1.825 MB / 1.192 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.299, allocations: 38.56 kB / 1.192 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.299, allocations: 0 / 1.192 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003155/0.2993, allocations: 149.4 kB / 1.192 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2993, allocations: 59.39 kB / 1.192 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.2995, allocations: 169.5 kB / 1.192 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.2995, allocations: 33.7 kB / 1.192 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.2996, allocations: 152 kB / 1.192 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.2996, allocations: 43.59 kB / 1.193 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.2997, allocations: 57.7 kB / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2998, allocations: 322.8 kB / 1.193 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.2999, allocations: 35.97 kB / 1.193 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3, allocations: 147.1 kB / 1.193 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.3002, allocations: 195.9 kB / 1.193 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3002, allocations: 0 / 1.193 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003137/0.3006, allocations: 217.6 kB / 1.193 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3006, allocations: 14.03 kB / 1.193 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3006, allocations: 4 kB / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3006, allocations: 11.94 kB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3008, allocations: 51.91 kB / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3008, allocations: 4 kB / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3009, allocations: 27.83 kB / 1.194 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.301, allocations: 16 kB / 1.194 GB, free: 10.36 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 9.496e-05/0.3011, allocations: 129.7 kB / 1.194 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.3011, allocations: 15.91 kB / 1.194 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.3014, allocations: 164.4 kB / 1.194 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3014, allocations: 3.938 kB / 1.194 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3014, allocations: 4 kB / 1.194 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3014, allocations: 7.984 kB / 1.194 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3017, allocations: 209.6 kB / 1.194 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3017, allocations: 0 / 1.194 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/0.3018, allocations: 27.98 kB / 1.194 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3018, allocations: 3.938 kB / 1.194 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3018, allocations: 0 / 1.194 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3018, allocations: 3.938 kB / 1.194 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3018, allocations: 8 kB / 1.194 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.3021, allocations: 230 kB / 1.194 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/0.3021, allocations: 112.9 kB / 1.194 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3022, allocations: 4 kB / 1.194 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3024, allocations: 15.92 kB / 1.194 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.3024, allocations: 12 kB / 1.194 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3024, allocations: 11.98 kB / 1.195 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.3025, allocations: 128.1 kB / 1.195 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3025, allocations: 0 / 1.195 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003723/0.3029, allocations: 83.86 kB / 1.195 GB, free: 9.109 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.0006451/0.3036, allocations: 0.8331 MB / 1.196 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3038, allocations: 116.6 kB / 1.196 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3038, allocations: 0 / 1.196 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.961e-05/0.3039, allocations: 52.05 kB / 1.196 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.3043, allocations: 55.89 kB / 1.196 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.3064, allocations: 2.051 MB / 1.198 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.3066, allocations: 0.7129 MB / 1.198 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.3068, allocations: 45.73 kB / 1.198 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.3069, allocations: 51.42 kB / 1.199 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.3069, allocations: 0 / 1.199 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3293, allocations: 5.487 MB / 1.204 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.844, allocations: 10.77 kB / 1.204 GB, free: 15.62 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