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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_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.00402/0.00402, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001046/0.001046, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 65.2 kB / 0.9505 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2245, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01499/0.2395, allocations: 12.97 MB / 1.1 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.2423, allocations: 2.675 MB / 1.103 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2425, allocations: 3.938 kB / 1.103 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.2428, allocations: 47.69 kB / 1.103 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.2431, allocations: 95.41 kB / 1.103 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.2443, allocations: 0.5123 MB / 1.103 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.2446, allocations: 235.9 kB / 1.104 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.2446, allocations: 9.562 kB / 1.104 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008037/0.2527, allocations: 3.592 MB / 1.107 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.2528, allocations: 87.66 kB / 1.107 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.2529, allocations: 8 kB / 1.107 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.2551, allocations: 1.077 MB / 1.108 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.2552, allocations: 39.89 kB / 1.108 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.399e-05/0.2553, allocations: 83.58 kB / 1.108 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.2559, allocations: 366.8 kB / 1.109 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2559, allocations: 0 / 1.109 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.132e-06/0.256, allocations: 0 / 1.109 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.256, allocations: 0 / 1.109 GB, free: 12.1 MB / 0.8731 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.000674/0.2566, allocations: 0.5082 MB / 1.109 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2567, allocations: 12.03 kB / 1.109 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.2567, allocations: 54.73 kB / 1.109 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.2569, allocations: 24.83 kB / 1.109 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.2572, allocations: 212.2 kB / 1.11 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2572, allocations: 16.64 kB / 1.11 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.2572, allocations: 16.38 kB / 1.11 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.2576, allocations: 248 kB / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2576, allocations: 0 / 1.11 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.2576, allocations: 11.98 kB / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.2577, allocations: 7.938 kB / 1.11 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.2581, allocations: 435.3 kB / 1.11 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.2592, allocations: 0.9567 MB / 1.111 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.2595, allocations: 155.1 kB / 1.111 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.2596, allocations: 60.88 kB / 1.111 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.2608, allocations: 1.84 MB / 1.113 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2609, allocations: 34.56 kB / 1.113 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.2609, allocations: 0 / 1.113 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003163/0.2612, allocations: 149.4 kB / 1.113 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2612, allocations: 51.41 kB / 1.113 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2614, allocations: 167.3 kB / 1.114 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.2614, allocations: 41.62 kB / 1.114 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.2615, allocations: 144 kB / 1.114 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.2615, allocations: 51.59 kB / 1.114 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.2616, allocations: 53.66 kB / 1.114 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.2617, allocations: 326.8 kB / 1.114 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.2618, allocations: 47.84 kB / 1.114 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2619, allocations: 139.2 kB / 1.114 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.2621, allocations: 195.4 kB / 1.115 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2621, allocations: 7.938 kB / 1.115 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003283/0.2625, allocations: 213.2 kB / 1.115 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2625, allocations: 8 kB / 1.115 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2625, allocations: 7.984 kB / 1.115 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2625, allocations: 7.938 kB / 1.115 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.2627, allocations: 51.92 kB / 1.115 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2627, allocations: 11.98 kB / 1.115 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2628, allocations: 24.28 kB / 1.115 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.2628, allocations: 16 kB / 1.115 GB, free: 5.113 MB / 0.8731 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.711e-05/0.2629, allocations: 141.6 kB / 1.115 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.263, allocations: 15.91 kB / 1.115 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.2633, allocations: 154.1 kB / 1.115 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.2633, allocations: 7.938 kB / 1.115 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2633, allocations: 0 / 1.115 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2633, allocations: 0 / 1.115 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.2636, allocations: 217.5 kB / 1.115 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2636, allocations: 0 / 1.115 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.3e-05/0.2637, allocations: 27.94 kB / 1.115 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2637, allocations: 0 / 1.115 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2637, allocations: 11.98 kB / 1.115 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2637, allocations: 3.938 kB / 1.115 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2637, allocations: 0 / 1.115 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.264, allocations: 219.2 kB / 1.116 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.2641, allocations: 116.9 kB / 1.116 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.2641, allocations: 4 kB / 1.116 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2643, allocations: 19.92 kB / 1.116 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.2644, allocations: 11.98 kB / 1.116 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.2644, allocations: 8 kB / 1.116 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.217e-05/0.2645, allocations: 124.9 kB / 1.116 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.222e-06/0.2645, allocations: 3.938 kB / 1.116 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003807/0.2649, allocations: 79.8 kB / 1.116 GB, free: 3.875 MB / 0.8731 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.0006452/0.2655, allocations: 0.8332 MB / 1.117 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.2657, allocations: 122.4 kB / 1.117 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2658, allocations: 0 / 1.117 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.2658, allocations: 47.91 kB / 1.117 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.2663, allocations: 64.69 kB / 1.117 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.2683, allocations: 2.041 MB / 1.119 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.2685, allocations: 0.7207 MB / 1.12 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00016/0.2687, allocations: 49.69 kB / 1.12 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.2688, allocations: 43.42 kB / 1.12 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/0.2688, allocations: 0 / 1.12 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.2902, allocations: 5.487 MB / 1.125 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/7.942, allocations: 10.12 kB / 1.125 GB, free: 10.38 MB / 0.8887 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/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