Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",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.005972/0.005972, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001178/0.001178, allocations: 195.2 kB / 16.68 MB, free: 5.93 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.31/1.31, 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 9.1.3-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7228/0.724, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004838/0.7289, allocations: 4.71 MB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.7313, allocations: 2.705 MB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.7314, allocations: 0.8125 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.7317, allocations: 45.55 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.732, allocations: 97.86 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.7332, allocations: 0.5016 MB / 1.095 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.7335, allocations: 237.9 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.7336, allocations: 9.859 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.7338, allocations: 114.1 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.734, allocations: 95.77 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.734, allocations: 12.44 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.7348, allocations: 361.5 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.7349, allocations: 46.52 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.735, allocations: 78.7 kB / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007052/0.7357, allocations: 358.4 kB / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7357, allocations: 0.7188 kB / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7357, allocations: 0 / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.7357, allocations: 0.6875 kB / 1.097 GB, free: 15.07 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.0007817/0.7365, allocations: 0.4995 MB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.7365, allocations: 11.14 kB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.862e-05/0.7366, allocations: 52.17 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.7368, allocations: 30.98 kB / 1.097 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.7371, allocations: 212.9 kB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.7371, allocations: 11.81 kB / 1.097 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.7372, allocations: 15.12 kB / 1.097 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.7376, allocations: 249.5 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7376, allocations: 0 / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.7376, allocations: 11.77 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.7377, allocations: 14.34 kB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.7383, allocations: 429.3 kB / 1.098 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.7394, allocations: 0.946 MB / 1.099 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.7397, allocations: 164.6 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.7398, allocations: 62.23 kB / 1.099 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.7412, allocations: 1.832 MB / 1.101 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.7413, allocations: 37.31 kB / 1.101 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.7413, allocations: 0 / 1.101 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0003336/0.7416, allocations: 145.3 kB / 1.101 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.7417, allocations: 53.84 kB / 1.101 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.7418, allocations: 174.9 kB / 1.101 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.7419, allocations: 27.98 kB / 1.101 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.7419, allocations: 142.3 kB / 1.102 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.742, allocations: 59.11 kB / 1.102 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.7421, allocations: 53.66 kB / 1.102 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7422, allocations: 323 kB / 1.102 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.7423, allocations: 38.34 kB / 1.102 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.7424, allocations: 144.4 kB / 1.102 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.7427, allocations: 200.9 kB / 1.102 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7427, allocations: 1.062 kB / 1.102 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003862/0.7431, allocations: 220.8 kB / 1.103 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7431, allocations: 5.969 kB / 1.103 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.7431, allocations: 4.203 kB / 1.103 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.7432, allocations: 14.03 kB / 1.103 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.7434, allocations: 54.03 kB / 1.103 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.7434, allocations: 9.734 kB / 1.103 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.7435, allocations: 28.38 kB / 1.103 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.7436, allocations: 12.5 kB / 1.103 GB, free: 9.777 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 0.0001437/0.7437, allocations: 135 kB / 1.103 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.7438, allocations: 16.8 kB / 1.103 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.7441, allocations: 150.4 kB / 1.103 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.7441, allocations: 6.156 kB / 1.103 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7442, allocations: 0.6562 kB / 1.103 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7442, allocations: 1.734 kB / 1.103 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.7444, allocations: 216.4 kB / 1.103 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.7445, allocations: 0 / 1.103 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.7446, allocations: 26.02 kB / 1.103 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7446, allocations: 1.344 kB / 1.103 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.7446, allocations: 10.34 kB / 1.103 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.7446, allocations: 5.062 kB / 1.103 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7446, allocations: 4.703 kB / 1.103 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.7449, allocations: 210.4 kB / 1.103 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.745, allocations: 115.1 kB / 1.104 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.7451, allocations: 5.719 kB / 1.104 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.7453, allocations: 15.42 kB / 1.104 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.7453, allocations: 16.88 kB / 1.104 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.7454, allocations: 13.55 kB / 1.104 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001202/0.7455, allocations: 118.5 kB / 1.104 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7455, allocations: 0 / 1.104 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004496/0.7459, allocations: 76.48 kB / 1.104 GB, free: 8.93 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.0008399/0.7468, allocations: 0.8258 MB / 1.105 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.7471, allocations: 126.3 kB / 1.105 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7471, allocations: 256 / 1.105 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.7471, allocations: 50.23 kB / 1.105 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.7476, allocations: 52.39 kB / 1.105 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.7505, allocations: 2.032 MB / 1.107 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.7509, allocations: 0.7146 MB / 1.108 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002212/0.7511, allocations: 45.2 kB / 1.108 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.7512, allocations: 45.88 kB / 1.108 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/0.7512, allocations: 0 / 1.108 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.7736, allocations: 5.264 MB / 1.113 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.609, allocations: 7.438 kB / 1.113 GB, free: 4.98 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Media.Examples.WaterProperties_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_Examples_WaterProperties.fmu > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches