Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009807/0.0009807, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.0009921/0.0009921, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 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 0.9637/0.9637, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.004/2.004, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.418e-05, allocations: 2.812 kB / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.005227/0.005242, allocations: 1.526 MB / 0.7615 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004301/0.005672, allocations: 226.2 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.005698, allocations: 0 / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.005723, allocations: 3.938 kB / 0.7617 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.005768, allocations: 6.5 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.005946, allocations: 32.59 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.701e-05/0.006013, allocations: 21.45 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.383e-05/0.006077, allocations: 8 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.006129, allocations: 14.11 kB / 0.7618 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.006161, allocations: 9.516 kB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.006172, allocations: 0 / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.006263, allocations: 33.22 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.006276, allocations: 4.656 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.006291, allocations: 9.188 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.00639, allocations: 40.88 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.006392, allocations: 1.266 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.006393, allocations: 0.5312 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.006396, allocations: 0 / 0.7619 GB, free: 4.695 MB / 0.7136 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.0002451/0.006641, allocations: 233.5 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.006672, allocations: 14.62 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.006804, allocations: 12.86 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.006876, allocations: 105.8 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.006884, allocations: 1.469 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.00689, allocations: 4.375 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.965e-05/0.00698, allocations: 58.86 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.006986, allocations: 1.531 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.006994, allocations: 8.375 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.006999, allocations: 384 / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.00702, allocations: 8.688 kB / 0.7623 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.007207, allocations: 148.9 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.708e-05/0.007244, allocations: 23.27 kB / 0.7625 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.007256, allocations: 5.609 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.007266, allocations: 4.062 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.007289, allocations: 36.75 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.00729, allocations: 0 / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.971e-05/0.007389, allocations: 41.67 kB / 0.7626 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.007417, allocations: 55.34 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.007468, allocations: 106.7 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.007477, allocations: 26.33 kB / 0.7628 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.007502, allocations: 92.03 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.007518, allocations: 6.891 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.007546, allocations: 13.72 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.007618, allocations: 314.8 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-06/0.007628, allocations: 7.984 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-06/0.007635, allocations: 0 / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.007659, allocations: 12.86 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.00766, allocations: 0 / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.595e-05/0.007706, allocations: 40.81 kB / 0.7632 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.007717, allocations: 6.031 kB / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007721, allocations: 0 / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.007732, allocations: 0 / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.007777, allocations: 15.88 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.007779, allocations: 0 / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.0078, allocations: 3.984 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.007805, allocations: 5.812 kB / 0.7633 GB, free: 3.168 MB / 0.7136 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 0.003065/0.01087, allocations: 105.8 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.01089, allocations: 0 / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/0.01097, allocations: 48.19 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01097, allocations: 4 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01097, allocations: 3.938 kB / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01098, allocations: 7.984 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.01108, allocations: 61.91 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01108, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.01111, allocations: 11.98 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01112, allocations: 0 / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.01112, allocations: 0 / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01112, allocations: 6.719 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01112, allocations: 0 / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.41e-05/0.0112, allocations: 135.7 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.0112, allocations: 3.984 kB / 0.7636 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.01121, allocations: 4 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.01126, allocations: 7.984 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.01129, allocations: 7.969 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.0113, allocations: 5.562 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.026e-05/0.01131, allocations: 8.797 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01131, allocations: 0 / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001794/0.01149, allocations: 8 kB / 0.7637 GB, free: 2.703 MB / 0.7136 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 6.98e-05/0.01156, allocations: 81.69 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.101e-05/0.01161, allocations: 12.8 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.01161, allocations: 4.5 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.01163, allocations: 17.64 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.01179, allocations: 8.641 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.01214, allocations: 122 kB / 0.7639 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.01218, allocations: 59.3 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.0122, allocations: 5.797 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.01225, allocations: 55.38 kB / 0.764 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of SimCode: time 4.4e-07/0.01225, allocations: 0.5938 kB / 0.764 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of Templates: time 0.005143/0.01739, allocations: 0.6413 MB / 0.7647 GB, free: 1.676 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.966706162318587]