Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.001391/0.001391, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001643/0.001643, allocations: 173 kB / 24.28 MB, free: 272 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 1.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.75/1.75, allocations: 359 MB / 0.6055 GB, free: 10.98 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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.53e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001781/0.001806, allocations: 1.341 MB / 0.7884 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007221/0.002529, allocations: 0.569 MB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.002562, allocations: 0 / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.002581, allocations: 0 / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.002633, allocations: 18.56 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.003054, allocations: 87.52 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.00313, allocations: 31.8 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.003172, allocations: 3.984 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.003229, allocations: 7.938 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.003282, allocations: 9.484 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.003296, allocations: 0 / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.003544, allocations: 135.7 kB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.003562, allocations: 7.938 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.003586, allocations: 4.594 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.00378, allocations: 103.7 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003783, allocations: 4.812 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.243e-06/0.003784, allocations: 0 / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.003791, allocations: 0.8438 kB / 0.7894 GB, free: 10.48 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003673/0.004158, allocations: 372.4 kB / 0.7897 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.004198, allocations: 13.56 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.004513, allocations: 33.89 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.004646, allocations: 116.6 kB / 0.7899 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.004658, allocations: 384 / 0.7899 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.004669, allocations: 1 kB / 0.7899 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.004801, allocations: 65.44 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004808, allocations: 192 / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.00482, allocations: 4.375 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.004828, allocations: 4.375 kB / 0.7899 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/0.004871, allocations: 15.92 kB / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.005006, allocations: 117.2 kB / 0.7901 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.601e-05/0.005072, allocations: 39.81 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.005101, allocations: 20.27 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.005119, allocations: 5.562 kB / 0.7901 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.005139, allocations: 37.39 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.00514, allocations: 0 / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001724/0.005313, allocations: 58.27 kB / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.005342, allocations: 52.09 kB / 0.7903 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.201e-05/0.005414, allocations: 161.9 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.005425, allocations: 26.39 kB / 0.7904 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.005458, allocations: 126.9 kB / 0.7906 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.4e-05/0.005482, allocations: 8.969 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.005513, allocations: 23.38 kB / 0.7906 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.005618, allocations: 497.5 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.005642, allocations: 11.92 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.005657, allocations: 4 kB / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.005704, allocations: 29.48 kB / 0.7911 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005706, allocations: 0 / 0.7911 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.338e-05/0.005789, allocations: 54.7 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.005807, allocations: 6.031 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.005813, allocations: 0 / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.005828, allocations: 0.625 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.00591, allocations: 8.953 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.005916, allocations: 0 / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.005942, allocations: 11.88 kB / 0.7912 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005948, allocations: 4.781 kB / 0.7912 GB, free: 8.402 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 7.436e-05/0.006022, allocations: 162.2 kB / 0.7914 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-06/0.006031, allocations: 4 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.006063, allocations: 3.312 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006065, allocations: 0.9375 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.006068, allocations: 0 / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.006072, allocations: 6.25 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.967e-05/0.006142, allocations: 116.6 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.006144, allocations: 4 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.006174, allocations: 7.984 kB / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.006175, allocations: 0 / 0.7915 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.006188, allocations: 6.203 kB / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006189, allocations: 0 / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00619, allocations: 0 / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.006291, allocations: 88.38 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.006327, allocations: 11.86 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.006339, allocations: 0.5 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.006364, allocations: 12.53 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.006378, allocations: 0 / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.006383, allocations: 5.891 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.006417, allocations: 123.2 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006417, allocations: 0 / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001502/0.006567, allocations: 15.94 kB / 0.7917 GB, free: 7.785 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 (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 Backend phase and start with SimCode phase: time 0.000164/0.006731, allocations: 112.5 kB / 0.7919 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.00684, allocations: 31.05 kB / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006841, allocations: 0 / 0.7919 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.006861, allocations: 19.67 kB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.007026, allocations: 7.938 kB / 0.7919 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.007634, allocations: 127.9 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.244e-05/0.007667, allocations: 55.34 kB / 0.7921 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.637e-05/0.007713, allocations: 8.531 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.007743, allocations: 18.31 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of SimCode: time 1.382e-06/0.007744, allocations: 0 / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of Templates: time 0.002644/0.01039, allocations: 0.8096 MB / 0.7929 GB, free: 6.574 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.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: 5.1637471278663725]