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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.296/3.296, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.42 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3597, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00292/0.3626, allocations: 1.412 MB / 1.305 GB, free: 116 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005681/0.3632, allocations: 203.9 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.3632, allocations: 0 / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.3632, allocations: 3.984 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.3633, allocations: 7.922 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.3635, allocations: 23.92 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.3636, allocations: 23.92 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.471e-05/0.3637, allocations: 7.984 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/0.3638, allocations: 11.98 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.3638, allocations: 7.938 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3638, allocations: 8 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-05/0.3639, allocations: 27.97 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.3639, allocations: 3.938 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.364, allocations: 11.94 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.3641, allocations: 36.11 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.3641, allocations: 4 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3641, allocations: 0 / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.3641, allocations: 0 / 1.306 GB, free: 15.74 MB / 1.014 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.0006045/0.3647, allocations: 343.4 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.3648, allocations: 16.92 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.3648, allocations: 34.75 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.365, allocations: 0.9375 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.3652, allocations: 164.4 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3652, allocations: 384 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.3652, allocations: 384 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.3654, allocations: 50.23 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3654, allocations: 3.938 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3654, allocations: 0 / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3654, allocations: 4 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.3656, allocations: 39.89 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.366, allocations: 248.8 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3661, allocations: 42.53 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.3662, allocations: 28.91 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3662, allocations: 3.938 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3663, allocations: 34.5 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3663, allocations: 0 / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003564/0.3666, allocations: 81.58 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3667, allocations: 59.53 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.3667, allocations: 97.84 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3668, allocations: 25.7 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.3668, allocations: 88.14 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.3668, allocations: 3.953 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.3669, allocations: 9.719 kB / 1.307 GB, free: 14.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.367, allocations: 322.8 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.3671, allocations: 11.98 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.3672, allocations: 19.98 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3673, allocations: 44.75 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3673, allocations: 3.938 kB / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.3675, allocations: 61.67 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3675, allocations: 9.812 kB / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3675, allocations: 0 / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3675, allocations: 0 / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.3676, allocations: 11.98 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3676, allocations: 0 / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.3677, allocations: 11.98 kB / 1.307 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3677, allocations: 0 / 1.307 GB, free: 13.66 MB / 1.014 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 8.662e-05/0.3678, allocations: 113.8 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3678, allocations: 12.14 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3681, allocations: 84.69 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3681, allocations: 0 / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3681, allocations: 0 / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3681, allocations: 0 / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3683, allocations: 157.6 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3683, allocations: 7.984 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.3684, allocations: 4 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3684, allocations: 8 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3684, allocations: 0 / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3684, allocations: 0 / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3684, allocations: 0 / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3686, allocations: 175.3 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.3687, allocations: 81.11 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3687, allocations: 4 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.3688, allocations: 7.984 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.3688, allocations: 0 / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3688, allocations: 0 / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.3689, allocations: 83.28 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3689, allocations: 0 / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002189/0.3691, allocations: 4 kB / 1.308 GB, free: 12.83 MB / 1.014 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.000596/0.3697, allocations: 0.7122 MB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3699, allocations: 43.95 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3699, allocations: 0 / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.37, allocations: 16.05 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3703, allocations: 11.94 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.3708, allocations: 160.1 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3712, allocations: 0.6729 MB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.3712, allocations: 7.984 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.3713, allocations: 11.44 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.3713, allocations: 4 kB / 1.31 GB, free: 11.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.3971, allocations: 1.37 MB / 1.311 GB, free: 9.871 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.514, allocations: 10.62 kB / 1.311 GB, free: 9.867 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.28372736275196]