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.007754/0.007754, 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.001382/0.001383, allocations: 197.1 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.569/2.569, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.89 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9403/0.9418, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006434/0.9483, allocations: 4.717 MB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.9519, allocations: 2.706 MB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.9521, allocations: 0 / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.9526, allocations: 55.67 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.953, allocations: 95.34 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.9546, allocations: 0.51 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.9549, allocations: 235.9 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.9549, allocations: 9.562 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.9552, allocations: 115.6 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.9553, allocations: 95.58 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.9554, allocations: 8 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008852/0.9563, allocations: 359.4 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.9563, allocations: 43.83 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.9565, allocations: 83.58 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.9571, allocations: 353.5 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.9571, allocations: 0 / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9571, allocations: 0 / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.9571, allocations: 0 / 1.175 GB, free: 10.36 MB / 0.9044 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.0009724/0.9581, allocations: 0.4992 MB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.9582, allocations: 16.91 kB / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.606e-05/0.9583, allocations: 50.73 kB / 1.176 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.9585, allocations: 28.69 kB / 1.176 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.9588, allocations: 220 kB / 1.176 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.9589, allocations: 12.64 kB / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.9589, allocations: 16.38 kB / 1.176 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.9593, allocations: 244.1 kB / 1.176 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.9594, allocations: 4 kB / 1.176 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.9594, allocations: 8 kB / 1.176 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/0.9594, allocations: 11.94 kB / 1.176 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/0.96, allocations: 431.4 kB / 1.177 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.9612, allocations: 0.9448 MB / 1.178 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.9615, allocations: 158.9 kB / 1.178 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.9616, allocations: 64.88 kB / 1.178 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.9632, allocations: 1.829 MB / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.9633, allocations: 34.56 kB / 1.18 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.9633, allocations: 3.938 kB / 1.18 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003483/0.9636, allocations: 155.7 kB / 1.18 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.9638, allocations: 55.41 kB / 1.18 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.9639, allocations: 167.3 kB / 1.18 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.9639, allocations: 29.7 kB / 1.18 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.9641, allocations: 143.8 kB / 1.18 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.9642, allocations: 55.23 kB / 1.18 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.9643, allocations: 57.55 kB / 1.18 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9644, allocations: 322.8 kB / 1.181 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.9644, allocations: 31.98 kB / 1.181 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.9646, allocations: 149.6 kB / 1.181 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.9648, allocations: 204.2 kB / 1.181 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9648, allocations: 0 / 1.181 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000316/0.9652, allocations: 213.4 kB / 1.181 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.9652, allocations: 4 kB / 1.181 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9652, allocations: 7.984 kB / 1.181 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.9652, allocations: 11.94 kB / 1.181 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.9654, allocations: 47.92 kB / 1.181 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9654, allocations: 4 kB / 1.181 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.9655, allocations: 27.69 kB / 1.181 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.9656, allocations: 16 kB / 1.181 GB, free: 3.395 MB / 0.9044 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.0001319/0.9657, allocations: 140.2 kB / 1.182 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.9658, allocations: 15.81 kB / 1.182 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.9661, allocations: 155 kB / 1.182 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.9661, allocations: 3.938 kB / 1.182 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9661, allocations: 0 / 1.182 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.9661, allocations: 4 kB / 1.182 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.9664, allocations: 213.5 kB / 1.182 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9664, allocations: 0 / 1.182 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.9665, allocations: 27.92 kB / 1.182 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9665, allocations: 8 kB / 1.182 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.9665, allocations: 0 / 1.182 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.9665, allocations: 3.938 kB / 1.182 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9665, allocations: 0 / 1.182 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.9668, allocations: 228.2 kB / 1.182 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-05/0.9669, allocations: 104.9 kB / 1.182 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.9669, allocations: 7.938 kB / 1.182 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.9671, allocations: 19.92 kB / 1.182 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.9671, allocations: 15.98 kB / 1.182 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.9671, allocations: 4 kB / 1.182 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.472e-05/0.9672, allocations: 132.8 kB / 1.182 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9672, allocations: 0 / 1.182 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004049/0.9676, allocations: 83.91 kB / 1.183 GB, free: 2.156 MB / 0.9044 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.0006933/0.9683, allocations: 0.8239 MB / 1.183 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.9686, allocations: 120.6 kB / 1.183 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9686, allocations: 4.062 kB / 1.183 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.9687, allocations: 39.92 kB / 1.183 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.9691, allocations: 51.89 kB / 1.184 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.9713, allocations: 2.036 MB / 1.186 GB, free: 14.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.9716, allocations: 0.7168 MB / 1.186 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.9717, allocations: 49.73 kB / 1.186 GB, free: 14.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.9718, allocations: 51.36 kB / 1.186 GB, free: 14.05 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.9718, allocations: 0 / 1.186 GB, free: 14.05 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.994, allocations: 5.25 MB / 1.191 GB, free: 8.902 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.918, allocations: 10.19 kB / 1.191 GB, free: 8.895 MB / 0.92 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