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.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 152 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.001128/0.001128, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.071/2.071, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5297, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004647/0.5343, allocations: 4.725 MB / 0.9543 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.5364, allocations: 2.695 MB / 0.9569 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.5365, allocations: 1.062 kB / 0.9569 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.5367, allocations: 54.8 kB / 0.957 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.5369, allocations: 95.48 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.5378, allocations: 0.4974 MB / 0.9576 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.538, allocations: 225.3 kB / 0.9578 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.5381, allocations: 10.53 kB / 0.9578 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.5383, allocations: 113.3 kB / 0.9579 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.5384, allocations: 98.7 kB / 0.958 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.5384, allocations: 6.938 kB / 0.958 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005709/0.539, allocations: 364 kB / 0.9584 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.5391, allocations: 34.23 kB / 0.9584 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.5391, allocations: 84.98 kB / 0.9585 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.5396, allocations: 364.5 kB / 0.9588 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5396, allocations: 0 / 0.9588 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5396, allocations: 0 / 0.9588 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.5396, allocations: 0 / 0.9588 GB, free: 1.93 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.0005511/0.5402, allocations: 0.4952 MB / 0.9593 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.5402, allocations: 9.625 kB / 0.9593 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.5403, allocations: 52.23 kB / 0.9594 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.5404, allocations: 26.48 kB / 0.9594 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.5406, allocations: 220.4 kB / 0.9596 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5406, allocations: 15.52 kB / 0.9596 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.5406, allocations: 14 kB / 0.9596 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.5409, allocations: 249.3 kB / 0.9599 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5409, allocations: 5.375 kB / 0.9599 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.5409, allocations: 6.75 kB / 0.9599 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.541, allocations: 5.5 kB / 0.9599 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.5414, allocations: 424.3 kB / 0.9603 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008924/0.5423, allocations: 0.9541 MB / 0.9612 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.5426, allocations: 161.8 kB / 0.9614 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.5427, allocations: 63.28 kB / 0.9614 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.5439, allocations: 1.827 MB / 0.9632 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.544, allocations: 36.84 kB / 0.9632 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.544, allocations: 0 / 0.9632 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003142/0.5443, allocations: 151.7 kB / 0.9634 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.5444, allocations: 53.12 kB / 0.9634 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.5445, allocations: 178 kB / 0.9636 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.5445, allocations: 34.95 kB / 0.9636 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.5446, allocations: 135.6 kB / 0.9638 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.5447, allocations: 54.02 kB / 0.9638 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.5447, allocations: 53.11 kB / 0.9639 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5448, allocations: 326.3 kB / 0.9642 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.5449, allocations: 33.42 kB / 0.9642 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.5451, allocations: 151.9 kB / 0.9644 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.5453, allocations: 195.3 kB / 0.9645 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5453, allocations: 1.562 kB / 0.9645 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003071/0.5456, allocations: 216 kB / 0.9648 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5456, allocations: 6.156 kB / 0.9648 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5456, allocations: 4.062 kB / 0.9648 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5457, allocations: 9 kB / 0.9648 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.5458, allocations: 57.06 kB / 0.9648 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5458, allocations: 5.125 kB / 0.9648 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.546, allocations: 25.16 kB / 0.9649 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.546, allocations: 17.81 kB / 0.9649 GB, free: 12.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.578e-05/0.5461, allocations: 136.8 kB / 0.965 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.5461, allocations: 12.59 kB / 0.965 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.5464, allocations: 161.5 kB / 0.9652 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.5464, allocations: 6.844 kB / 0.9652 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5465, allocations: 0 / 0.9652 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5465, allocations: 0 / 0.9652 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.5467, allocations: 217.9 kB / 0.9654 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5467, allocations: 0 / 0.9654 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.455e-05/0.5468, allocations: 27.92 kB / 0.9654 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5468, allocations: 1.344 kB / 0.9654 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.5468, allocations: 1.125 kB / 0.9654 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5468, allocations: 5.094 kB / 0.9654 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5468, allocations: 0 / 0.9654 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.5471, allocations: 230.2 kB / 0.9656 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.5472, allocations: 109.6 kB / 0.9657 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5472, allocations: 5.5 kB / 0.9657 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.5474, allocations: 19.48 kB / 0.9658 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.5474, allocations: 9.422 kB / 0.9658 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.5474, allocations: 10.59 kB / 0.9658 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.73e-05/0.5475, allocations: 119.5 kB / 0.9659 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5475, allocations: 0 / 0.9659 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003626/0.5479, allocations: 79.77 kB / 0.966 GB, free: 11.26 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.0006804/0.5486, allocations: 0.841 MB / 0.9668 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.5488, allocations: 135.2 kB / 0.9669 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5488, allocations: 1.062 kB / 0.9669 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.5489, allocations: 44.48 kB / 0.967 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.5493, allocations: 53.78 kB / 0.967 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5514, allocations: 2.024 MB / 0.969 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.5517, allocations: 0.7198 MB / 0.9697 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.5519, allocations: 46.5 kB / 0.9697 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.5519, allocations: 45.64 kB / 0.9698 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.552, allocations: 0 / 0.9698 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.119/1.671, allocations: 5.197 MB / 0.9749 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.54, allocations: 6.922 kB / 0.9749 GB, free: 5.184 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