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.00154/0.00154, 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.001773/0.001773, allocations: 181 kB / 24.08 MB, free: 416 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.9528/0.9528, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.762/1.762, allocations: 359 MB / 0.6055 GB, free: 10.89 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.493e-06/1.493e-06, allocations: 0 / 0.7876 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.782e-05, allocations: 7.25 kB / 0.7876 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002186/0.002214, allocations: 1.349 MB / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.002944, allocations: 0.5569 MB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.002973, allocations: 4 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.002992, allocations: 0.5625 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.003042, allocations: 16.53 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.003403, allocations: 88.42 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.003461, allocations: 31.78 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.003495, allocations: 4.656 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.003546, allocations: 15.39 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.003584, allocations: 4 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.003595, allocations: 0 / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.003803, allocations: 135.7 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.003818, allocations: 3.938 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.003832, allocations: 4 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.003998, allocations: 107.7 kB / 0.7898 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004001, allocations: 0 / 0.7898 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004002, allocations: 0 / 0.7898 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004006, allocations: 0 / 0.7898 GB, free: 9.934 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.0003116/0.004317, allocations: 373.2 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.004357, allocations: 13.69 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.004627, allocations: 36.78 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.004704, allocations: 113.9 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.004714, allocations: 4.375 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.004723, allocations: 4.312 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.004827, allocations: 56.53 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004834, allocations: 192 / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004842, allocations: 4.359 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004846, allocations: 1.969 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.004873, allocations: 15.92 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.004983, allocations: 101.2 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.005037, allocations: 44.28 kB / 0.7906 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.005058, allocations: 19.69 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.005079, allocations: 0.5312 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.005101, allocations: 38.11 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.005102, allocations: 0 / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.005248, allocations: 54.64 kB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.005274, allocations: 51.94 kB / 0.7907 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.005341, allocations: 155.3 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.005353, allocations: 25.7 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.005389, allocations: 126.9 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.005417, allocations: 11.94 kB / 0.791 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.005449, allocations: 20.59 kB / 0.791 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.005572, allocations: 0.4922 MB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.005596, allocations: 11.92 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.005611, allocations: 5.375 kB / 0.7915 GB, free: 8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.005652, allocations: 20.61 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.005655, allocations: 0 / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.483e-05/0.00573, allocations: 54.64 kB / 0.7916 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.005744, allocations: 5.875 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.00575, allocations: 0.8438 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.00576, allocations: 0 / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.005834, allocations: 10.2 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.005837, allocations: 0 / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.00586, allocations: 7.938 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.005865, allocations: 3.938 kB / 0.7916 GB, free: 7.895 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.76e-05/0.005933, allocations: 156.6 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.005942, allocations: 10.97 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.005972, allocations: 7.312 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005973, allocations: 0 / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.005975, allocations: 0 / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.005979, allocations: 4 kB / 0.7918 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.406e-05/0.006053, allocations: 93.2 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.006056, allocations: 5.344 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.006093, allocations: 11.98 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006095, allocations: 0 / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.0061, allocations: 0 / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.006102, allocations: 4.609 kB / 0.7919 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006103, allocations: 0.5625 kB / 0.7919 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.448e-05/0.006198, allocations: 89.19 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.006226, allocations: 11.92 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.006234, allocations: 1.062 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.006253, allocations: 0 / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.006262, allocations: 5 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.006266, allocations: 0 / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.006302, allocations: 127.3 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006302, allocations: 0.8125 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001362/0.006438, allocations: 16 kB / 0.7922 GB, free: 7.309 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.0001438/0.006582, allocations: 112.2 kB / 0.7923 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.289e-05/0.006655, allocations: 24.89 kB / 0.7923 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006656, allocations: 1.438 kB / 0.7923 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.006673, allocations: 19.67 kB / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.006815, allocations: 15.53 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.007256, allocations: 122.4 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.045e-05/0.007286, allocations: 51.36 kB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.884e-05/0.007335, allocations: 20.09 kB / 0.7925 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.007397, allocations: 78.19 kB / 0.7926 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.007398, allocations: 0.9688 kB / 0.7926 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.002493/0.009891, allocations: 0.8862 MB / 0.7934 GB, free: 5.941 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: 4.996442405041307]