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.0009817/0.0009817, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.0009584/0.0009584, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.9315/0.9315, allocations: 177.2 MB / 205.3 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.757/1.757, allocations: 359 MB / 0.6063 GB, free: 10.92 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.473e-06/1.473e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.026e-05, allocations: 7.25 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.004999/0.005019, allocations: 1.337 MB / 0.7896 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.006161, allocations: 0.6385 MB / 0.7903 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.006192, allocations: 0 / 0.7903 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.006219, allocations: 4.594 kB / 0.7903 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.006277, allocations: 8.594 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.006813, allocations: 108.2 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.246e-05/0.006885, allocations: 32.88 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.006928, allocations: 0 / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.006969, allocations: 11.98 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.007048, allocations: 8.922 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.007064, allocations: 4 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.007339, allocations: 144.4 kB / 0.7906 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.007361, allocations: 7.969 kB / 0.7906 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.007381, allocations: 5.219 kB / 0.7906 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.007621, allocations: 111.7 kB / 0.7907 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.007626, allocations: 3.938 kB / 0.7907 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.007627, allocations: 4.5 kB / 0.7907 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.007632, allocations: 0 / 0.7907 GB, free: 9.801 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.0004682/0.008101, allocations: 382.9 kB / 0.7911 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.008142, allocations: 8.031 kB / 0.7911 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.008559, allocations: 37.12 kB / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.008653, allocations: 110 kB / 0.7912 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.008665, allocations: 4.375 kB / 0.7912 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.008688, allocations: 8.359 kB / 0.7912 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.00885, allocations: 89.16 kB / 0.7913 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.008858, allocations: 5.812 kB / 0.7913 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.008868, allocations: 384 / 0.7913 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.008875, allocations: 384 / 0.7913 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/0.008923, allocations: 16.55 kB / 0.7913 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.009069, allocations: 113.2 kB / 0.7914 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.009266, allocations: 52.45 kB / 0.7915 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.009304, allocations: 20.59 kB / 0.7915 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.009323, allocations: 8.016 kB / 0.7915 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.00935, allocations: 37.39 kB / 0.7916 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.009351, allocations: 5.375 kB / 0.7916 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.002195/0.01155, allocations: 431.5 kB / 0.792 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.01157, allocations: 51.41 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.01165, allocations: 157.9 kB / 0.7922 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.01167, allocations: 29.7 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.0117, allocations: 129.3 kB / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.01174, allocations: 23.83 kB / 0.7924 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.0118, allocations: 27.36 kB / 0.7924 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.01193, allocations: 0.4884 MB / 0.7929 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.01198, allocations: 27.91 kB / 0.7929 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.01203, allocations: 24.52 kB / 0.7929 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.01215, allocations: 56.39 kB / 0.793 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01215, allocations: 0.5312 kB / 0.793 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002027/0.01235, allocations: 102.7 kB / 0.7931 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01236, allocations: 4 kB / 0.7931 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01237, allocations: 0.5 kB / 0.7931 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.01238, allocations: 0 / 0.7931 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.01253, allocations: 29.31 kB / 0.7931 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.01253, allocations: 0 / 0.7931 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.01261, allocations: 8.781 kB / 0.7931 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.01263, allocations: 3.984 kB / 0.7931 GB, free: 7.133 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 9.556e-05/0.01272, allocations: 162.3 kB / 0.7933 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.01276, allocations: 8 kB / 0.7933 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.0128, allocations: 11.19 kB / 0.7933 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01281, allocations: 0 / 0.7933 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01281, allocations: 0 / 0.7933 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01281, allocations: 4.266 kB / 0.7933 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.01295, allocations: 115.5 kB / 0.7934 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01295, allocations: 6.094 kB / 0.7934 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.01309, allocations: 28.03 kB / 0.7934 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.0131, allocations: 3.984 kB / 0.7934 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.01311, allocations: 3.984 kB / 0.7934 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01312, allocations: 4 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01312, allocations: 1.125 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.01341, allocations: 153.6 kB / 0.7936 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.01342, allocations: 7.953 kB / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01344, allocations: 0 / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.01354, allocations: 5.844 kB / 0.7936 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.01356, allocations: 7.984 kB / 0.7936 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.01357, allocations: 7.922 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002769/0.01385, allocations: 127.2 kB / 0.7937 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01385, allocations: 0.9375 kB / 0.7937 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002849/0.01413, allocations: 35.88 kB / 0.7938 GB, free: 6.406 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.0001937/0.01433, allocations: 128.7 kB / 0.7939 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.01449, allocations: 76.22 kB / 0.794 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01449, allocations: 0.8438 kB / 0.794 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.01455, allocations: 43.59 kB / 0.794 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.01472, allocations: 18.66 kB / 0.794 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.01527, allocations: 162.1 kB / 0.7942 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.01531, allocations: 55.36 kB / 0.7942 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.01544, allocations: 31.77 kB / 0.7943 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.01556, allocations: 86.17 kB / 0.7943 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01556, allocations: 0 / 0.7943 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.004154/0.01971, allocations: 1.841 MB / 0.7961 GB, free: 3.977 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.898427749052644]