Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.0009742/0.0009742, 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.001139/0.001139, allocations: 165 kB / 24.28 MB, free: 276 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.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.731/1.731, allocations: 359 MB / 0.6055 GB, free: 11 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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.2e-05, allocations: 6.906 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001596/0.001618, allocations: 1.334 MB / 0.7884 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007871/0.002405, allocations: 0.6502 MB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.002432, allocations: 0 / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.00245, allocations: 0 / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.571e-05/0.002486, allocations: 5.781 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.00283, allocations: 115.4 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/0.002888, allocations: 24.48 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.002929, allocations: 0 / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.002966, allocations: 17.36 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.003026, allocations: 15.97 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.003039, allocations: 0 / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.003217, allocations: 135.7 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.00323, allocations: 9.312 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.00325, allocations: 7.984 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.003425, allocations: 107.7 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003427, allocations: 1.75 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003428, allocations: 0 / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.003432, allocations: 0 / 0.7895 GB, free: 10.38 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003763/0.003808, allocations: 392 kB / 0.7899 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.003846, allocations: 13.12 kB / 0.7899 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/0.004133, allocations: 39.59 kB / 0.7899 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.077e-05/0.004214, allocations: 108.6 kB / 0.79 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.004224, allocations: 384 / 0.79 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.004246, allocations: 384 / 0.79 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.004426, allocations: 95.22 kB / 0.7901 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004433, allocations: 192 / 0.7901 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.004445, allocations: 4.375 kB / 0.7901 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.004452, allocations: 384 / 0.7901 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.004512, allocations: 27.92 kB / 0.7901 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.004643, allocations: 116.6 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.004827, allocations: 64.27 kB / 0.7903 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.004861, allocations: 29.42 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.004879, allocations: 0 / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.004902, allocations: 37.39 kB / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004903, allocations: 0 / 0.7904 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.001503/0.006406, allocations: 459.2 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.006434, allocations: 55.34 kB / 0.7909 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.006502, allocations: 158.8 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.006518, allocations: 25.7 kB / 0.791 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.006553, allocations: 128.1 kB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.006587, allocations: 27.83 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.006629, allocations: 27.36 kB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.006743, allocations: 0.4897 MB / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.006791, allocations: 31.92 kB / 0.7917 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.006841, allocations: 29.52 kB / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.006947, allocations: 67.67 kB / 0.7918 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006948, allocations: 0 / 0.7918 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/0.007101, allocations: 112.7 kB / 0.7919 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.007117, allocations: 7.938 kB / 0.7919 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007121, allocations: 0 / 0.7919 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.007136, allocations: 4 kB / 0.7919 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.007234, allocations: 23.91 kB / 0.792 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.007241, allocations: 4.172 kB / 0.792 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.007295, allocations: 6.281 kB / 0.792 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.007309, allocations: 15.97 kB / 0.792 GB, free: 7.594 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 (7): * Single equations (assignments): 7 * 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.368e-05/0.007383, allocations: 152.6 kB / 0.7921 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.007402, allocations: 4 kB / 0.7921 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.007439, allocations: 10.56 kB / 0.7921 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.007441, allocations: 0 / 0.7921 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.007446, allocations: 8.594 kB / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007449, allocations: 0 / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.215e-05/0.007541, allocations: 135.6 kB / 0.7923 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007542, allocations: 3.984 kB / 0.7923 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.007628, allocations: 22.83 kB / 0.7923 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.00763, allocations: 0 / 0.7923 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.007644, allocations: 7.984 kB / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.007646, allocations: 3.984 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007647, allocations: 0 / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.007881, allocations: 186.3 kB / 0.7925 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.007887, allocations: 0 / 0.7925 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.007903, allocations: 4 kB / 0.7925 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.007966, allocations: 7.984 kB / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.007981, allocations: 0.9375 kB / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.007993, allocations: 15.92 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.00802, allocations: 120.3 kB / 0.7926 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00802, allocations: 0 / 0.7926 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001557/0.008176, allocations: 31.88 kB / 0.7927 GB, free: 6.836 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001523/0.008328, allocations: 137.4 kB / 0.7928 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.008481, allocations: 83.58 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008483, allocations: 4.25 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.008533, allocations: 47.59 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.008681, allocations: 15.89 kB / 0.7929 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.009221, allocations: 162.1 kB / 0.7931 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.009253, allocations: 63.28 kB / 0.7932 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001/0.009353, allocations: 27.94 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.0094, allocations: 16.48 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of SimCode: time 1.252e-06/0.009401, allocations: 0 / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.00329/0.01269, allocations: 1.65 MB / 0.7948 GB, free: 4.645 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.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.059714329894632]