Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009309/0.0009309, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009767/0.0009767, allocations: 181 kB / 24.09 MB, free: 420 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.9783/0.9783, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.554e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00171/0.001725, allocations: 1.467 MB / 0.789 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.002103, allocations: 221.5 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.002133, allocations: 1.219 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.002157, allocations: 7.938 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.002199, allocations: 7.922 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.002391, allocations: 24.47 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.002446, allocations: 29.28 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.002529, allocations: 11.97 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.002578, allocations: 8 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.002609, allocations: 7.984 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.002621, allocations: 0.875 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.002697, allocations: 31.97 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.002711, allocations: 8.469 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.002725, allocations: 7.984 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.002827, allocations: 32.69 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002829, allocations: 0 / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00283, allocations: 0.9375 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.002834, allocations: 0 / 0.7893 GB, free: 10.37 MB / 0.7448 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.0002828/0.003116, allocations: 373.2 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.003148, allocations: 8.031 kB / 0.7897 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.003262, allocations: 14.53 kB / 0.7897 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.634e-05/0.003328, allocations: 116.5 kB / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.003336, allocations: 384 / 0.7898 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.003342, allocations: 4.375 kB / 0.7898 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.587e-05/0.003428, allocations: 64.47 kB / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.003435, allocations: 192 / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-06/0.00344, allocations: 384 / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.003443, allocations: 384 / 0.7899 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.003461, allocations: 9.062 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.003666, allocations: 236.4 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.003708, allocations: 38.11 kB / 0.7902 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.177e-05/0.003719, allocations: 7.688 kB / 0.7902 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.003732, allocations: 0 / 0.7902 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.003751, allocations: 37.45 kB / 0.7902 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.003751, allocations: 0 / 0.7902 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001025/0.003854, allocations: 49.56 kB / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.003877, allocations: 51.41 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.93e-05/0.003936, allocations: 154.7 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.003945, allocations: 25.7 kB / 0.7905 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.003985, allocations: 135.4 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.004001, allocations: 7.938 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.004027, allocations: 24.56 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.004144, allocations: 492.1 kB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.004152, allocations: 0 / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/0.004161, allocations: 4.531 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.004186, allocations: 17.05 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.004188, allocations: 0 / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.423e-05/0.004232, allocations: 38.8 kB / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.004242, allocations: 4 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.004247, allocations: 4 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.004258, allocations: 4.906 kB / 0.7912 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.004307, allocations: 7.984 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.004311, allocations: 4 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.004329, allocations: 9.672 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.004333, allocations: 0 / 0.7912 GB, free: 8.277 MB / 0.7448 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.317e-05/0.004396, allocations: 156.6 kB / 0.7913 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.004409, allocations: 1.281 kB / 0.7913 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.004492, allocations: 48.98 kB / 0.7914 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.004496, allocations: 3.938 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.0045, allocations: 4.5 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.004503, allocations: 7.375 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.004887, allocations: 97.25 kB / 0.7915 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.004889, allocations: 3.938 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.004916, allocations: 7.984 kB / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.004918, allocations: 240 / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.004923, allocations: 4 kB / 0.7915 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.004924, allocations: 0 / 0.7915 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.004925, allocations: 0 / 0.7915 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.976e-05/0.005015, allocations: 195.9 kB / 0.7917 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.00502, allocations: 4.484 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-06/0.005027, allocations: 0 / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/0.005058, allocations: 4.5 kB / 0.7917 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.005085, allocations: 8.547 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.00509, allocations: 8.5 kB / 0.7917 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.00512, allocations: 119.2 kB / 0.7918 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00512, allocations: 1.406 kB / 0.7918 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000133/0.005253, allocations: 8 kB / 0.7919 GB, free: 7.551 MB / 0.7448 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.939e-05/0.005322, allocations: 99.81 kB / 0.7919 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.513e-05/0.005377, allocations: 17.36 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005379, allocations: 0 / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.526e-05/0.005394, allocations: 11.69 kB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.005555, allocations: 11.98 kB / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.005892, allocations: 131.6 kB / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.866e-05/0.005921, allocations: 55.86 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.005942, allocations: 9.734 kB / 0.7922 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.00599, allocations: 74.2 kB / 0.7922 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.005991, allocations: 1.344 kB / 0.7922 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of Templates: time 0.001958/0.007949, allocations: 0.7077 MB / 0.7929 GB, free: 6.406 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.742087714839727]