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.001369/0.001369, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001458/0.001458, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.319/3.319, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [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.002058/0.002058, allocations: 67.16 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3583, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002721/0.361, allocations: 1.442 MB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005432/0.3615, allocations: 211.3 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.3616, allocations: 4 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.3616, allocations: 3.984 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.3616, allocations: 3.938 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3619, allocations: 27.91 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.362, allocations: 23.92 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.362, allocations: 4 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.3621, allocations: 7.984 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.3621, allocations: 15.92 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.3622, allocations: 4 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3623, allocations: 31.91 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.3623, allocations: 8 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.3623, allocations: 11.94 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.3624, allocations: 47.81 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3624, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3625, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3625, allocations: 0 / 1.366 GB, free: 11.8 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.0004827/0.3629, allocations: 266.3 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.363, allocations: 8.031 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3631, allocations: 8.938 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3633, allocations: 106.5 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3633, allocations: 4.375 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3633, allocations: 8.359 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3635, allocations: 50.23 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3635, allocations: 4.172 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3635, allocations: 3.938 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3635, allocations: 0 / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.3637, allocations: 35.91 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.364, allocations: 192.6 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3641, allocations: 38.56 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.3642, allocations: 20.91 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3642, allocations: 3.938 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.3643, allocations: 38.56 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3643, allocations: 0 / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000357/0.3646, allocations: 93.62 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3647, allocations: 51.41 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.3648, allocations: 97.84 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3648, allocations: 29.64 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.3648, allocations: 84.14 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.3648, allocations: 7.953 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.3649, allocations: 13.7 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.365, allocations: 322.8 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.3651, allocations: 11.98 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.3652, allocations: 20.02 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3653, allocations: 44.75 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3653, allocations: 0 / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.3655, allocations: 69.59 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3655, allocations: 4 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3655, allocations: 96 / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3655, allocations: 4 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.3656, allocations: 8 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3656, allocations: 0 / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.3657, allocations: 7.984 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3657, allocations: 0 / 1.368 GB, free: 10 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 8.529e-05/0.3658, allocations: 114.5 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.3658, allocations: 3.938 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.3661, allocations: 84.89 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3661, allocations: 0 / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3661, allocations: 0 / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3661, allocations: 0 / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3662, allocations: 109.3 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3662, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.3663, allocations: 15.98 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3663, allocations: 3.938 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3663, allocations: 4 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3663, allocations: 0 / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3663, allocations: 4 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3666, allocations: 167.5 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.3666, allocations: 7.875 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3666, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.3667, allocations: 7.984 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.3667, allocations: 4.281 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3667, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.3668, allocations: 91.25 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3668, allocations: 4 kB / 1.369 GB, free: 9.324 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002195/0.367, allocations: 4 kB / 1.369 GB, free: 9.32 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.0001189/0.3671, allocations: 95.25 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.3673, allocations: 39.89 kB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3673, allocations: 0 / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.856e-05/0.3674, allocations: 27.86 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3677, allocations: 4.062 kB / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.368, allocations: 148.6 kB / 1.369 GB, free: 8.969 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.722e-05/0.3681, allocations: 59.36 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.3681, allocations: 7.438 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.3681, allocations: 0 / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of Templates: time 0.002084/0.3702, allocations: 0.5969 MB / 1.37 GB, free: 8.293 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 800] 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: 11.126676072832197]