Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001901/0.001901, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.498/2.498, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5659, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002369/0.5683, allocations: 1.468 MB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004181/0.5688, allocations: 207.4 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.5688, allocations: 4 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.5688, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.5689, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.5691, allocations: 27.89 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.822e-05/0.5691, allocations: 15.94 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.321e-05/0.5692, allocations: 7.984 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.5692, allocations: 11.94 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.5693, allocations: 19.92 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.5693, allocations: 3.938 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-05/0.5694, allocations: 23.98 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.5694, allocations: 0 / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.5694, allocations: 15.91 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.851e-05/0.5695, allocations: 38.16 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5695, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.32e-07/0.5695, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.5695, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003826/0.5699, allocations: 351.4 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.57, allocations: 12.03 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.57, allocations: 30.75 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.962e-05/0.5701, allocations: 8.781 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.979e-05/0.5702, allocations: 168.4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.5702, allocations: 384 / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.5702, allocations: 384 / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.5704, allocations: 50.23 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.5704, allocations: 3.938 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.5704, allocations: 4 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5704, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.5706, allocations: 35.91 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.5709, allocations: 249 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.571, allocations: 34.5 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.5711, allocations: 28.91 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.5712, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.5712, allocations: 34.55 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.5712, allocations: 0 / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003249/0.5715, allocations: 81.72 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.5716, allocations: 59.39 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.5716, allocations: 101.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.5717, allocations: 29.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.5717, allocations: 80.14 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.5717, allocations: 3.906 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.5718, allocations: 21.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.5718, allocations: 310.8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.5719, allocations: 15.98 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.572, allocations: 19.98 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.5722, allocations: 40.75 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5722, allocations: 3.938 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.5724, allocations: 73.62 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5724, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5724, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.5724, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.5725, allocations: 11.94 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5725, allocations: 3.984 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.5726, allocations: 11.92 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.5726, allocations: 4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 6.372e-05/0.5727, allocations: 118.3 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.5727, allocations: 3.938 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.5729, allocations: 80.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5729, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5729, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.573, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.5731, allocations: 169.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.5731, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.5732, allocations: 11.98 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5732, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.5732, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5732, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5732, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.5734, allocations: 171.4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.5735, allocations: 85.02 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5735, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.5736, allocations: 7.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.5736, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.5736, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.5737, allocations: 79.27 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5737, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002182/0.5739, allocations: 8 kB / 1.021 GB, free: 14.02 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0004307/0.5743, allocations: 0.7007 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.5745, allocations: 39.89 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5746, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.441e-05/0.5747, allocations: 24.05 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.5749, allocations: 4.938 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.5754, allocations: 146.6 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.5756, allocations: 0.6809 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.5756, allocations: 8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.5756, allocations: 11.38 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.5756, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.5858, allocations: 1.165 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.586, allocations: 228.8 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.198, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches