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.0009684/0.0009684, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009967/0.0009967, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9755/0.9755, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.685/1.685, allocations: 359 MB / 0.6052 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.212e-06/1.212e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.713e-05, allocations: 4.422 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00167/0.001697, allocations: 1.335 MB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.002399, allocations: 0.5766 MB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.002422, allocations: 0 / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.002445, allocations: 0.5938 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.002496, allocations: 12.77 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.002881, allocations: 100.6 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.002945, allocations: 23.86 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.002982, allocations: 0 / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.003029, allocations: 9.406 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.003072, allocations: 7.984 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.003085, allocations: 0 / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.003372, allocations: 139.7 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.003386, allocations: 5.047 kB / 0.7893 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.003407, allocations: 8 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.00358, allocations: 105.2 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003583, allocations: 0 / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003584, allocations: 0 / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003588, allocations: 0 / 0.7894 GB, free: 10.17 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.0003243/0.003913, allocations: 373.1 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.003948, allocations: 8.031 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.00424, allocations: 34.45 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.004323, allocations: 116.6 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.004337, allocations: 1.094 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.004348, allocations: 4.312 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.004476, allocations: 65.28 kB / 0.7899 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.004483, allocations: 4.172 kB / 0.7899 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.004493, allocations: 384 / 0.7899 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.004498, allocations: 384 / 0.7899 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.004536, allocations: 17.77 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.004664, allocations: 116.6 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/0.004727, allocations: 43.09 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.004754, allocations: 22.08 kB / 0.7901 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.004771, allocations: 7.938 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.00479, allocations: 37.39 kB / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.004791, allocations: 0 / 0.7902 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.004954, allocations: 62.39 kB / 0.7902 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.004982, allocations: 51.41 kB / 0.7903 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.005047, allocations: 158.4 kB / 0.7904 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.005058, allocations: 27.36 kB / 0.7905 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.005092, allocations: 126.9 kB / 0.7906 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.005116, allocations: 11.95 kB / 0.7906 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.005148, allocations: 23.36 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.005253, allocations: 492.1 kB / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.005278, allocations: 12.48 kB / 0.7911 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.005297, allocations: 9.312 kB / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.005343, allocations: 24.83 kB / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005345, allocations: 0 / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.341e-05/0.005419, allocations: 55.02 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.005434, allocations: 5.719 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.005438, allocations: 0 / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.00545, allocations: 0 / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.005528, allocations: 13.73 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.005534, allocations: 3.938 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.005559, allocations: 3.938 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.005564, allocations: 0 / 0.7912 GB, free: 8.086 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.332e-05/0.005628, allocations: 161.4 kB / 0.7914 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.005637, allocations: 5.578 kB / 0.7914 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.00567, allocations: 3.312 kB / 0.7914 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.005673, allocations: 4 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.005677, allocations: 0.9375 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.005681, allocations: 3.938 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.189e-05/0.005752, allocations: 124 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005754, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.005788, allocations: 4 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.005789, allocations: 0 / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.005799, allocations: 3.984 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.005801, allocations: 0 / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.005803, allocations: 7.938 kB / 0.7915 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.005921, allocations: 88.31 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.005961, allocations: 12.42 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.005974, allocations: 5.938 kB / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.006001, allocations: 0 / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.006014, allocations: 0 / 0.7916 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.006022, allocations: 7.984 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.006058, allocations: 119.2 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006058, allocations: 2.25 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002074/0.006265, allocations: 15.94 kB / 0.7917 GB, free: 7.469 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.0001428/0.006408, allocations: 111.2 kB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.00651, allocations: 28.58 kB / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.006512, allocations: 0 / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.006539, allocations: 28.45 kB / 0.7919 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.006721, allocations: 19.11 kB / 0.7919 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.007274, allocations: 118.1 kB / 0.792 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.384e-05/0.007308, allocations: 59.34 kB / 0.7921 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.899e-05/0.007357, allocations: 3.406 kB / 0.7921 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.007388, allocations: 12.5 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/0.007388, allocations: 1.125 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of Templates: time 0.002882/0.01027, allocations: 0.8785 MB / 0.793 GB, free: 6.188 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.794722255319357]