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.001513/0.001513, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.366/2.366, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.89 kB / 0.8126 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6861, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00518/0.6913, allocations: 4.725 MB / 0.9543 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.6937, allocations: 2.691 MB / 0.9569 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.6938, allocations: 1.688 kB / 0.9569 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.6941, allocations: 60.23 kB / 0.957 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.6944, allocations: 97.69 kB / 0.9571 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.6954, allocations: 0.493 MB / 0.9576 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.6956, allocations: 229.5 kB / 0.9578 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.6957, allocations: 13.72 kB / 0.9578 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.6959, allocations: 118.3 kB / 0.9579 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.696, allocations: 89.03 kB / 0.958 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.696, allocations: 8.656 kB / 0.958 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000583/0.6966, allocations: 363.9 kB / 0.9584 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.6967, allocations: 34.52 kB / 0.9584 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.179e-05/0.6968, allocations: 84.7 kB / 0.9585 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.6974, allocations: 364.2 kB / 0.9588 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6974, allocations: 4 kB / 0.9588 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6974, allocations: 0 / 0.9588 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.6974, allocations: 0 / 0.9588 GB, free: 1.887 MB / 0.7169 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.0006885/0.6981, allocations: 0.4949 MB / 0.9593 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.6982, allocations: 9.625 kB / 0.9593 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.6982, allocations: 48.23 kB / 0.9594 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.6984, allocations: 26.48 kB / 0.9594 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.6986, allocations: 216.4 kB / 0.9596 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.6986, allocations: 11.58 kB / 0.9596 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.6986, allocations: 18 kB / 0.9596 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.699, allocations: 253.6 kB / 0.9599 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.699, allocations: 1.062 kB / 0.9599 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.699, allocations: 6.719 kB / 0.9599 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/0.699, allocations: 6.219 kB / 0.9599 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.6995, allocations: 428.3 kB / 0.9603 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009726/0.7005, allocations: 0.9498 MB / 0.9612 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.7008, allocations: 166.7 kB / 0.9614 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.926e-05/0.7009, allocations: 61.84 kB / 0.9614 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.7021, allocations: 1.823 MB / 0.9632 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.7021, allocations: 36.72 kB / 0.9632 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.7021, allocations: 1.156 kB / 0.9632 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003211/0.7025, allocations: 157.1 kB / 0.9634 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.7025, allocations: 53.62 kB / 0.9634 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.7026, allocations: 174.6 kB / 0.9636 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.7027, allocations: 30.92 kB / 0.9636 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.7028, allocations: 139 kB / 0.9638 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.7028, allocations: 42.55 kB / 0.9638 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.7029, allocations: 68.97 kB / 0.9639 GB, free: 13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.703, allocations: 326.2 kB / 0.9642 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.7031, allocations: 33.98 kB / 0.9642 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.7032, allocations: 149.9 kB / 0.9644 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.7034, allocations: 195.3 kB / 0.9646 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7034, allocations: 0 / 0.9646 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003256/0.7038, allocations: 216.7 kB / 0.9648 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7038, allocations: 11.34 kB / 0.9648 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7038, allocations: 3.875 kB / 0.9648 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.7039, allocations: 9.844 kB / 0.9648 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.704, allocations: 56.16 kB / 0.9648 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.7041, allocations: 4.938 kB / 0.9648 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.7042, allocations: 24.97 kB / 0.9649 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.7042, allocations: 14.66 kB / 0.9649 GB, free: 12.15 MB / 0.7325 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.0001183/0.7043, allocations: 132.3 kB / 0.965 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.7044, allocations: 16.62 kB / 0.965 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.7047, allocations: 163.1 kB / 0.9652 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.7047, allocations: 6.219 kB / 0.9652 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7047, allocations: 0 / 0.9652 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7047, allocations: 3.938 kB / 0.9652 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.705, allocations: 214.5 kB / 0.9654 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.705, allocations: 0 / 0.9654 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.7051, allocations: 27.14 kB / 0.9654 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7051, allocations: 1 kB / 0.9654 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.7051, allocations: 1.812 kB / 0.9654 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.7051, allocations: 9 kB / 0.9654 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7051, allocations: 0 / 0.9654 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.7054, allocations: 226.4 kB / 0.9656 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.7055, allocations: 114 kB / 0.9658 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.7055, allocations: 4 kB / 0.9658 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.7057, allocations: 17.61 kB / 0.9658 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.7057, allocations: 11.67 kB / 0.9658 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.7058, allocations: 12.97 kB / 0.9658 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.775e-05/0.7058, allocations: 115.7 kB / 0.9659 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7059, allocations: 1.531 kB / 0.9659 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003873/0.7062, allocations: 76.67 kB / 0.966 GB, free: 11.21 MB / 0.7325 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.000726/0.707, allocations: 0.8389 MB / 0.9668 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.7072, allocations: 131.8 kB / 0.9669 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7073, allocations: 1.281 kB / 0.9669 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.7073, allocations: 47.89 kB / 0.967 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.7078, allocations: 56.53 kB / 0.967 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.7099, allocations: 2.023 MB / 0.969 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.7102, allocations: 0.7118 MB / 0.9697 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.7103, allocations: 50.52 kB / 0.9698 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.7104, allocations: 45.27 kB / 0.9698 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7104, allocations: 0 / 0.9698 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.7328, allocations: 5.203 MB / 0.9749 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/8.19, allocations: 7.297 kB / 0.9749 GB, free: 5.141 MB / 0.7325 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