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.0007864/0.0007865, allocations: 98.19 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.00524/0.00524, allocations: 170.4 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.502/2.502, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 11.98 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.608, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001404/0.6095, allocations: 1.137 MB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004349/0.6099, allocations: 199.5 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.61, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.61, allocations: 3.984 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.61, allocations: 7.922 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.6102, allocations: 19.92 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.269e-05/0.6103, allocations: 23.92 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.465e-05/0.6104, allocations: 3.984 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.6104, allocations: 11.94 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.542e-05/0.6104, allocations: 11.92 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.6105, allocations: 8 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.6105, allocations: 19.98 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.6106, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.6106, allocations: 37.62 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.6107, allocations: 34.2 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6107, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6107, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.6107, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.7794 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.0003742/0.6111, allocations: 351.4 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6112, allocations: 8.031 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.6112, allocations: 30.75 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.6113, allocations: 12.86 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.6114, allocations: 164.3 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.6114, allocations: 8.312 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.6114, allocations: 384 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.6116, allocations: 58.23 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.6116, allocations: 3.938 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.6116, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.6116, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.6118, allocations: 43.95 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.6121, allocations: 253 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.6123, allocations: 42.44 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.6124, allocations: 44.83 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.6124, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.6124, allocations: 30.56 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.6124, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003412/0.6128, allocations: 97.64 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.6128, allocations: 59.34 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.648e-05/0.6129, allocations: 97.86 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6129, allocations: 25.7 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.6129, allocations: 84.12 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.6129, allocations: 8.031 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.613, allocations: 13.72 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.6131, allocations: 314.8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.6131, allocations: 15.98 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.6132, allocations: 27.97 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.6134, allocations: 48.89 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6134, allocations: 3.938 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001983/0.6136, allocations: 81.59 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.6136, allocations: 8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.6136, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.6136, allocations: 4.188 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.6137, allocations: 11.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6137, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.6138, allocations: 15.97 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6138, allocations: 3.984 kB / 1.026 GB, free: 12.16 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.346e-05/0.6139, allocations: 118.3 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.6139, allocations: 11.84 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.6142, allocations: 84.78 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6142, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6142, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.6142, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.6143, allocations: 165.6 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6144, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.6144, allocations: 15.92 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6144, allocations: 4 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.6144, allocations: 4 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6145, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6145, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.6147, allocations: 179.5 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.6147, allocations: 77.11 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.6148, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.6148, allocations: 11.98 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.6149, allocations: 4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.6149, allocations: 7.922 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.6149, allocations: 79.28 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6149, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002099/0.6151, allocations: 8 kB / 1.027 GB, free: 11.3 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.0004444/0.6156, allocations: 0.7201 MB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.6158, allocations: 47.95 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6158, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.6159, allocations: 31.97 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.6162, allocations: 8 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.6165, allocations: 154.2 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.6167, allocations: 0.677 MB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.6168, allocations: 4 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.6168, allocations: 15.44 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6168, allocations: 0 / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.6272, allocations: 1.12 MB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.6274, allocations: 224 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.284, allocations: 3.375 kB / 1.03 GB, free: 8.359 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