Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.WaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_10_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.001271/0.001271, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001264/0.001264, allocations: 191 kB / 16.25 MB, free: 6.637 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.457 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.509/2.509, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 0.8688 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6002/0.6015, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006792/0.6083, allocations: 4.761 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.6112, allocations: 2.695 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.6114, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.6116, allocations: 39.8 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.612, allocations: 83.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.6132, allocations: 477.6 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.6135, allocations: 224 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.6136, allocations: 13.55 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.6138, allocations: 119.5 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.6139, allocations: 91.66 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.614, allocations: 15.94 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.6147, allocations: 367.2 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.6147, allocations: 47.81 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.6148, allocations: 75.66 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.6154, allocations: 361.4 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6155, allocations: 0 / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6155, allocations: 0 / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.6155, allocations: 0 / 1.026 GB, free: 9.297 MB / 0.7794 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.0006919/0.6162, allocations: 0.5048 MB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6162, allocations: 12.03 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.6163, allocations: 58.67 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.6164, allocations: 20.83 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.6166, allocations: 216 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.6167, allocations: 12.69 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.6167, allocations: 20.38 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.6171, allocations: 244.1 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6171, allocations: 0 / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.6171, allocations: 8 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.6171, allocations: 11.94 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.6176, allocations: 439.3 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.6187, allocations: 0.9371 MB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.6189, allocations: 160.7 kB / 1.029 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.619, allocations: 62.41 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.6203, allocations: 1.829 MB / 1.03 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.6203, allocations: 34.56 kB / 1.03 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.6203, allocations: 3.938 kB / 1.03 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003084/0.6207, allocations: 149.4 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.6207, allocations: 51.41 kB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.6208, allocations: 177.1 kB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6209, allocations: 25.7 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.621, allocations: 147.8 kB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.621, allocations: 51.27 kB / 1.031 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.6211, allocations: 49.7 kB / 1.031 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6212, allocations: 326.8 kB / 1.031 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.6213, allocations: 35.97 kB / 1.031 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.6214, allocations: 145.7 kB / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.6216, allocations: 199.4 kB / 1.032 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6216, allocations: 4 kB / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003088/0.622, allocations: 213.1 kB / 1.032 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.622, allocations: 9.875 kB / 1.032 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.622, allocations: 4 kB / 1.032 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.622, allocations: 7.938 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.6222, allocations: 51.92 kB / 1.032 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.6222, allocations: 12.45 kB / 1.032 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.6223, allocations: 27.75 kB / 1.032 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.6223, allocations: 15.94 kB / 1.032 GB, free: 2.348 MB / 0.7794 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.0001049/0.6224, allocations: 130.2 kB / 1.032 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.6225, allocations: 15.81 kB / 1.032 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.6228, allocations: 160.1 kB / 1.032 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.6228, allocations: 3.938 kB / 1.032 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6228, allocations: 0 / 1.032 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6228, allocations: 4 kB / 1.032 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.623, allocations: 217.5 kB / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6231, allocations: 0 / 1.033 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.6231, allocations: 23.94 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6232, allocations: 7.984 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6232, allocations: 4 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6232, allocations: 7.922 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6232, allocations: 4 kB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.6234, allocations: 216.5 kB / 1.033 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.6235, allocations: 112.8 kB / 1.033 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.6235, allocations: 11.92 kB / 1.033 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.6237, allocations: 15.92 kB / 1.033 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.6238, allocations: 15.98 kB / 1.033 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.6238, allocations: 8 kB / 1.033 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.6239, allocations: 121.6 kB / 1.033 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6239, allocations: 3.938 kB / 1.033 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003724/0.6243, allocations: 79.98 kB / 1.033 GB, free: 1.117 MB / 0.7794 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.0006966/0.625, allocations: 0.8222 MB / 1.034 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.6252, allocations: 129.5 kB / 1.034 GB, free: 148 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6252, allocations: 4 kB / 1.034 GB, free: 144 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.6253, allocations: 43.97 kB / 1.034 GB, free: 100 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.6257, allocations: 56.78 kB / 1.034 GB, free: 44 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.6278, allocations: 2.074 MB / 1.036 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.6281, allocations: 0.7206 MB / 1.037 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.6282, allocations: 53.72 kB / 1.037 GB, free: 13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.6283, allocations: 47.42 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.6283, allocations: 0 / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.394/2.023, allocations: 5.099 MB / 1.042 GB, free: 7.984 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/2.023, allocations: 186.1 kB / 1.042 GB, free: 7.734 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/4.256, allocations: 0 / 1.042 GB, free: 7.734 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_WaterProperties.fmu > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches