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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009729/0.0009772, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008129/0.008129, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.9 MB / 0.6664 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003287, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6418, allocations: 142.4 MB / 0.9551 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004/0.6458, allocations: 4.364 MB / 0.9594 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.648, allocations: 2.687 MB / 0.962 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.6481, allocations: 5.312 kB / 0.962 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.6484, allocations: 42.67 kB / 0.9621 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.6486, allocations: 86.61 kB / 0.9622 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.6497, allocations: 465.6 kB / 0.9626 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.65, allocations: 305 kB / 0.9629 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.6501, allocations: 13.56 kB / 0.9629 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.6502, allocations: 112.3 kB / 0.963 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.6504, allocations: 90.62 kB / 0.9631 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.6504, allocations: 7.031 kB / 0.9631 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.651, allocations: 372.5 kB / 0.9635 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.651, allocations: 39.23 kB / 0.9635 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.6511, allocations: 106.5 kB / 0.9636 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.6515, allocations: 356.9 kB / 0.9639 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6515, allocations: 4 kB / 0.9639 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6515, allocations: 0 / 0.9639 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.6516, allocations: 1 kB / 0.9639 GB, free: 0.8945 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.0004994/0.6521, allocations: 476.3 kB / 0.9644 GB, free: 444 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6521, allocations: 9.469 kB / 0.9644 GB, free: 444 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.6522, allocations: 48.48 kB / 0.9645 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.6523, allocations: 25.7 kB / 0.9645 GB, free: 380 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.6524, allocations: 217.7 kB / 0.9647 GB, free: 136 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.6524, allocations: 11.58 kB / 0.9647 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.6525, allocations: 17.5 kB / 0.9647 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.6528, allocations: 254.4 kB / 0.965 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.6528, allocations: 0 / 0.965 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.6528, allocations: 6.688 kB / 0.965 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.6529, allocations: 6.344 kB / 0.965 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.6533, allocations: 424 kB / 0.9654 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.6542, allocations: 0.9553 MB / 0.9663 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.6545, allocations: 166.2 kB / 0.9665 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.6546, allocations: 66.66 kB / 0.9665 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.6557, allocations: 1.819 MB / 0.9683 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.6557, allocations: 45.34 kB / 0.9684 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.6557, allocations: 0 / 0.9684 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0002751/0.656, allocations: 149.6 kB / 0.9685 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.656, allocations: 53.41 kB / 0.9685 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.6562, allocations: 171.5 kB / 0.9687 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.6562, allocations: 31.58 kB / 0.9687 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.6563, allocations: 135.4 kB / 0.9689 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.6563, allocations: 50.73 kB / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.6563, allocations: 32.48 kB / 0.9689 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.6564, allocations: 326.4 kB / 0.9693 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.6565, allocations: 37.16 kB / 0.9693 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.6566, allocations: 141.9 kB / 0.9694 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.6568, allocations: 201 kB / 0.9696 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.6568, allocations: 5.188 kB / 0.9696 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000298/0.6571, allocations: 216.3 kB / 0.9698 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6572, allocations: 10.47 kB / 0.9698 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6572, allocations: 3.594 kB / 0.9698 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6572, allocations: 8.688 kB / 0.9699 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.6574, allocations: 56.91 kB / 0.9699 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.6574, allocations: 4.844 kB / 0.9699 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.6575, allocations: 29.89 kB / 0.9699 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.6575, allocations: 10.34 kB / 0.9699 GB, free: 11.19 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 9.457e-05/0.6576, allocations: 136.6 kB / 0.9701 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.6577, allocations: 21.12 kB / 0.9701 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.6579, allocations: 158.4 kB / 0.9703 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.6579, allocations: 5.656 kB / 0.9703 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.658, allocations: 0 / 0.9703 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.658, allocations: 0.9688 kB / 0.9703 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.6582, allocations: 214.2 kB / 0.9705 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6582, allocations: 0 / 0.9705 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.6583, allocations: 22.67 kB / 0.9705 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6583, allocations: 5.531 kB / 0.9705 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6583, allocations: 9.031 kB / 0.9705 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.6583, allocations: 8.938 kB / 0.9705 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6583, allocations: 0.9688 kB / 0.9705 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.6585, allocations: 220.5 kB / 0.9707 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.6586, allocations: 113.6 kB / 0.9708 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.6586, allocations: 1.812 kB / 0.9708 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.6588, allocations: 27.67 kB / 0.9709 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.6589, allocations: 8.953 kB / 0.9709 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.6589, allocations: 11.72 kB / 0.9709 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.696e-05/0.659, allocations: 123.6 kB / 0.971 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.659, allocations: 0 / 0.971 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003466/0.6593, allocations: 74.2 kB / 0.9711 GB, free: 10.25 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.0005768/0.6599, allocations: 0.8393 MB / 0.9719 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.6601, allocations: 120.7 kB / 0.972 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6601, allocations: 5.156 kB / 0.972 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.6602, allocations: 48.66 kB / 0.972 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.6606, allocations: 57.16 kB / 0.9721 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.6625, allocations: 2.101 MB / 0.9742 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.6627, allocations: 0.7084 MB / 0.9748 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.6629, allocations: 50.89 kB / 0.9749 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.663, allocations: 49.52 kB / 0.9749 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.663, allocations: 0 / 0.9749 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.524/5.187, allocations: 4.916 MB / 0.9797 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/5.187, allocations: 181.9 kB / 0.9799 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/7.317, allocations: 0 / 0.9799 GB, free: 4.121 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterProperties.fmu > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat","/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