Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001235/0.001235, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.295/1.295, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5316, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01669/0.5484, allocations: 13.87 MB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.5511, allocations: 2.691 MB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.5512, allocations: 0 / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.5516, allocations: 39.8 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.5518, allocations: 91.42 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.553, allocations: 468.4 kB / 1.033 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.5533, allocations: 303.8 kB / 1.034 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.5533, allocations: 17.55 kB / 1.034 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007264/0.5606, allocations: 3.156 MB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.5608, allocations: 95.66 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.5608, allocations: 7.938 kB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.563, allocations: 0.9694 MB / 1.038 GB, free: 13.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.563, allocations: 39.89 kB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.5631, allocations: 83.58 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.5638, allocations: 371 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5639, allocations: 0 / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5639, allocations: 0 / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.5639, allocations: 0 / 1.038 GB, free: 12.54 MB / 0.795 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.0006995/0.5646, allocations: 0.4915 MB / 1.039 GB, free: 12 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5646, allocations: 12.03 kB / 1.039 GB, free: 11.99 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.5647, allocations: 50.73 kB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.5649, allocations: 24.73 kB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.5651, allocations: 216.1 kB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.5651, allocations: 16.69 kB / 1.039 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.5651, allocations: 16.38 kB / 1.039 GB, free: 11.62 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.5655, allocations: 240 kB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5655, allocations: 4 kB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.5655, allocations: 12 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.5656, allocations: 7.984 kB / 1.039 GB, free: 11.35 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.566, allocations: 435.3 kB / 1.04 GB, free: 10.92 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.5671, allocations: 0.9643 MB / 1.041 GB, free: 9.867 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.5674, allocations: 156.6 kB / 1.041 GB, free: 9.707 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.5675, allocations: 60.88 kB / 1.041 GB, free: 9.645 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.5688, allocations: 1.84 MB / 1.043 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5688, allocations: 34.5 kB / 1.043 GB, free: 7.402 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.5688, allocations: 0 / 1.043 GB, free: 7.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0003273/0.5691, allocations: 149.4 kB / 1.043 GB, free: 7.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.5692, allocations: 51.41 kB / 1.043 GB, free: 7.188 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.5693, allocations: 169.4 kB / 1.043 GB, free: 7.012 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.5694, allocations: 29.7 kB / 1.043 GB, free: 6.977 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.5694, allocations: 143.8 kB / 1.043 GB, free: 6.832 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.5695, allocations: 59.19 kB / 1.043 GB, free: 6.773 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.5695, allocations: 49.7 kB / 1.043 GB, free: 6.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.5697, allocations: 326.8 kB / 1.044 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.5697, allocations: 35.97 kB / 1.044 GB, free: 6.355 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.5699, allocations: 141.7 kB / 1.044 GB, free: 6.168 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.5701, allocations: 191 kB / 1.044 GB, free: 5.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5701, allocations: 7.938 kB / 1.044 GB, free: 5.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003266/0.5704, allocations: 222 kB / 1.044 GB, free: 5.703 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5705, allocations: 8 kB / 1.044 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5705, allocations: 4 kB / 1.044 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5705, allocations: 7.938 kB / 1.044 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.5707, allocations: 55.92 kB / 1.044 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.5707, allocations: 7.984 kB / 1.044 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.5708, allocations: 24.12 kB / 1.044 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.5708, allocations: 20 kB / 1.044 GB, free: 5.578 MB / 0.795 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.0001006/0.5709, allocations: 125.8 kB / 1.045 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.571, allocations: 15.81 kB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.5713, allocations: 163.9 kB / 1.045 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.5713, allocations: 3.938 kB / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5713, allocations: 0 / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5714, allocations: 0 / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.5716, allocations: 221.4 kB / 1.045 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5716, allocations: 4 kB / 1.045 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.5717, allocations: 20 kB / 1.045 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.5717, allocations: 4 kB / 1.045 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.5717, allocations: 7.922 kB / 1.045 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5717, allocations: 3.938 kB / 1.045 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5717, allocations: 0 / 1.045 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.572, allocations: 217.3 kB / 1.045 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.5721, allocations: 112.9 kB / 1.045 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.5721, allocations: 4 kB / 1.045 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.5723, allocations: 19.92 kB / 1.045 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.5724, allocations: 11.98 kB / 1.045 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.5724, allocations: 8 kB / 1.045 GB, free: 4.555 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.172e-05/0.5725, allocations: 122.3 kB / 1.045 GB, free: 4.438 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5725, allocations: 0 / 1.045 GB, free: 4.438 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003816/0.5729, allocations: 83.92 kB / 1.046 GB, free: 4.355 MB / 0.795 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.000711/0.5736, allocations: 0.8415 MB / 1.046 GB, free: 3.488 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.5738, allocations: 121.9 kB / 1.046 GB, free: 3.371 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5738, allocations: 0 / 1.046 GB, free: 3.371 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.5739, allocations: 51.86 kB / 1.047 GB, free: 3.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.5743, allocations: 58.34 kB / 1.047 GB, free: 3.266 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.5764, allocations: 2.082 MB / 1.049 GB, free: 1.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.5766, allocations: 0.717 MB / 1.049 GB, free: 284 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.5768, allocations: 49.69 kB / 1.049 GB, free: 236 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.5769, allocations: 47.42 kB / 1.049 GB, free: 188 kB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.5769, allocations: 0 / 1.049 GB, free: 188 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.6042, allocations: 5.216 MB / 1.054 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.6044, allocations: 218.1 kB / 1.055 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.502, allocations: 7.875 kB / 1.055 GB, free: 10.84 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches