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.001128/0.001128, allocations: 81.86 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.0009501/0.0009501, allocations: 185 kB / 24.09 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.9196/0.9196, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.729/1.729, allocations: 359 MB / 0.6055 GB, free: 10.88 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.463e-06/1.463e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.215e-05, allocations: 3.375 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002361/0.002383, allocations: 1.341 MB / 0.7889 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003387, allocations: 0.6386 MB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.003414, allocations: 3.062 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.003435, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.003489, allocations: 7.922 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.003916, allocations: 115.3 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.77e-05/0.003973, allocations: 23.88 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.004017, allocations: 3.984 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.004057, allocations: 13.16 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.004122, allocations: 11.97 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.004136, allocations: 0 / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.004323, allocations: 140.3 kB / 0.7898 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.00434, allocations: 13.14 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.004358, allocations: 4 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.004568, allocations: 115.7 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.004573, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/0.004574, allocations: 0.5 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.004581, allocations: 1.719 kB / 0.7899 GB, free: 9.758 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.0005411/0.005122, allocations: 380.1 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.005167, allocations: 12.03 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.005443, allocations: 34.67 kB / 0.7904 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.164e-05/0.005534, allocations: 114.3 kB / 0.7905 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.005545, allocations: 384 / 0.7905 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.005567, allocations: 8.359 kB / 0.7905 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.005701, allocations: 90.88 kB / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005708, allocations: 192 / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.005717, allocations: 384 / 0.7906 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.005722, allocations: 4.375 kB / 0.7906 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.005755, allocations: 19.91 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.005879, allocations: 101.3 kB / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.006032, allocations: 60.27 kB / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.006056, allocations: 20.27 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.006076, allocations: 5.594 kB / 0.7908 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.006099, allocations: 33.39 kB / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.0061, allocations: 0 / 0.7908 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.001358/0.007458, allocations: 447.2 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.007483, allocations: 55.34 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.007548, allocations: 158.6 kB / 0.7914 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.007563, allocations: 26.33 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.007602, allocations: 130.9 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.007637, allocations: 24.69 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.007679, allocations: 27.36 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.007799, allocations: 0.4942 MB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.007838, allocations: 19.98 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.00787, allocations: 23.98 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.007952, allocations: 60.28 kB / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.007953, allocations: 0 / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001401/0.008093, allocations: 108.1 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008108, allocations: 4 kB / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.008114, allocations: 0 / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.008125, allocations: 0 / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.008227, allocations: 25.84 kB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.008231, allocations: 240 / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.008279, allocations: 7.938 kB / 0.7923 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.00829, allocations: 11.97 kB / 0.7924 GB, free: 7.074 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.561e-05/0.008365, allocations: 161 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.008384, allocations: 0.5312 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.008428, allocations: 14.72 kB / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00843, allocations: 0 / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.008432, allocations: 3.656 kB / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.008439, allocations: 7.922 kB / 0.7925 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.008545, allocations: 115.5 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008546, allocations: 0 / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.008636, allocations: 19.98 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.008639, allocations: 0 / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.008649, allocations: 3.984 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008651, allocations: 0 / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008652, allocations: 0 / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.008874, allocations: 165.5 kB / 0.7928 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.008884, allocations: 7.953 kB / 0.7928 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.008898, allocations: 4.969 kB / 0.7928 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.008959, allocations: 11.98 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.008971, allocations: 1.125 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.008981, allocations: 7.984 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.009016, allocations: 120.2 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009016, allocations: 0 / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001653/0.009181, allocations: 31.88 kB / 0.793 GB, free: 6.363 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.0001832/0.009364, allocations: 136.3 kB / 0.7931 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.009486, allocations: 73.33 kB / 0.7932 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.009488, allocations: 0 / 0.7932 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.009531, allocations: 48.3 kB / 0.7932 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.009675, allocations: 18.77 kB / 0.7933 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.01044, allocations: 158.4 kB / 0.7934 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.89e-05/0.01047, allocations: 59.34 kB / 0.7935 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.549e-05/0.01056, allocations: 27.94 kB / 0.7935 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.01066, allocations: 86.17 kB / 0.7936 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.01066, allocations: 3.938 kB / 0.7936 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of Templates: time 0.003414/0.01407, allocations: 1.83 MB / 0.7954 GB, free: 3.934 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: 4.912881520576775]