Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 116.7 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.141/3.141, allocations: 0.5003 GB / 0.8026 GB, free: 6.852 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 71.89 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002486/1.129, allocations: 1.438 MB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004752/1.129, allocations: 215.6 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/1.129, allocations: 0 / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/1.129, allocations: 0 / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/1.129, allocations: 5.641 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/1.13, allocations: 37.5 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.073e-05/1.13, allocations: 29.39 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/1.13, allocations: 2.234 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/1.13, allocations: 10.69 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.082e-05/1.13, allocations: 9.531 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/1.13, allocations: 2.594 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/1.13, allocations: 30.41 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/1.13, allocations: 6.531 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/1.13, allocations: 11.81 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/1.13, allocations: 46.06 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.13, allocations: 4.797 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.13, allocations: 0 / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.13, allocations: 0 / 1.342 GB, free: 15.06 MB / 1.061 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.000421/1.131, allocations: 342.6 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.131, allocations: 10.33 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.952e-05/1.131, allocations: 1.562 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.419e-05/1.131, allocations: 31.36 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/1.131, allocations: 11.89 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/1.131, allocations: 167.6 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.131, allocations: 1.172 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/1.131, allocations: 2.062 kB / 1.342 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/1.131, allocations: 56.39 kB / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.131, allocations: 0 / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/1.131, allocations: 1.906 kB / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.131, allocations: 0 / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/1.131, allocations: 36.22 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/1.132, allocations: 260.5 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/1.132, allocations: 33.58 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/1.132, allocations: 26.67 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/1.132, allocations: 2.906 kB / 1.343 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/1.132, allocations: 34.56 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.132, allocations: 0 / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003816/1.132, allocations: 79.89 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/1.132, allocations: 52.69 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/1.132, allocations: 101.3 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/1.132, allocations: 29.83 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/1.133, allocations: 85.8 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/1.133, allocations: 13.34 kB / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/1.133, allocations: 17.23 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/1.133, allocations: 316.7 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/1.133, allocations: 14.52 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/1.133, allocations: 17.97 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/1.133, allocations: 44.88 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.133, allocations: 1.375 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/1.133, allocations: 62.53 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.133, allocations: 6.312 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.133, allocations: 0.7969 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.133, allocations: 0 / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/1.133, allocations: 13.42 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.133, allocations: 7.938 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/1.133, allocations: 11.14 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/1.133, allocations: 4 kB / 1.344 GB, free: 13.29 MB / 1.061 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 4.574e-05/1.133, allocations: 113.7 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/1.133, allocations: 1.469 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/1.134, allocations: 77.75 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.134, allocations: 1.156 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.134, allocations: 0.7969 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.134, allocations: 0 / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/1.134, allocations: 161.4 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/1.134, allocations: 1.156 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/1.134, allocations: 9.766 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.134, allocations: 1.094 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/1.134, allocations: 0 / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/1.134, allocations: 5.953 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.134, allocations: 3.938 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/1.134, allocations: 170.2 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/1.134, allocations: 79.09 kB / 1.344 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/1.134, allocations: 4.656 kB / 1.344 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/1.134, allocations: 6.141 kB / 1.344 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/1.134, allocations: 6.984 kB / 1.344 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/1.134, allocations: 1.406 kB / 1.344 GB, free: 12.67 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.201e-05/1.134, allocations: 80.42 kB / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.134, allocations: 0 / 1.344 GB, free: 12.6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002132/1.134, allocations: 8.469 kB / 1.344 GB, free: 12.59 MB / 1.061 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.0003949/1.135, allocations: 0.7103 MB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002354/1.135, allocations: 36.39 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.135, allocations: 0 / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/1.135, allocations: 22.22 kB / 1.345 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/1.136, allocations: 1.938 kB / 1.345 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/1.136, allocations: 162.8 kB / 1.345 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/1.136, allocations: 0.6772 MB / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.725e-05/1.136, allocations: 2.031 kB / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/1.136, allocations: 9.328 kB / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.136, allocations: 0 / 1.346 GB, free: 11.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/1.154, allocations: 1.434 MB / 1.347 GB, free: 10.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/9.456, allocations: 12.58 kB / 1.347 GB, free: 10.65 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.40279830194777]