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.0009956/0.0009956, 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.001055/0.001055, 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.9384/0.9384, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.862/1.862, allocations: 359 MB / 0.6052 GB, free: 11.03 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.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.62e-05, allocations: 6.25 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001813/0.00184, allocations: 1.341 MB / 0.7884 GB, free: 10.03 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.002659, allocations: 0.6376 MB / 0.789 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.002684, allocations: 5.156 kB / 0.7891 GB, free: 9.387 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.002707, allocations: 0 / 0.7891 GB, free: 9.387 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.002756, allocations: 7.922 kB / 0.7891 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.003221, allocations: 112.7 kB / 0.7892 GB, free: 9.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.003284, allocations: 32.75 kB / 0.7892 GB, free: 9.238 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.003323, allocations: 0 / 0.7892 GB, free: 9.238 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.003357, allocations: 11.98 kB / 0.7892 GB, free: 9.227 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.003419, allocations: 8.656 kB / 0.7892 GB, free: 9.219 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.003433, allocations: 4 kB / 0.7892 GB, free: 9.215 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.003636, allocations: 145.2 kB / 0.7894 GB, free: 9.074 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.003653, allocations: 3.984 kB / 0.7894 GB, free: 9.07 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.003672, allocations: 4 kB / 0.7894 GB, free: 9.066 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.003873, allocations: 127.6 kB / 0.7895 GB, free: 8.941 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003875, allocations: 1.531 kB / 0.7895 GB, free: 8.941 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.243e-06/0.003877, allocations: 0 / 0.7895 GB, free: 8.941 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003881, allocations: 0 / 0.7895 GB, free: 8.941 MB / 0.698 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.0004179/0.004299, allocations: 381.7 kB / 0.7899 GB, free: 8.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.004339, allocations: 8.031 kB / 0.7899 GB, free: 8.523 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.004647, allocations: 40.58 kB / 0.7899 GB, free: 8.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.004729, allocations: 104.6 kB / 0.79 GB, free: 8.359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.004742, allocations: 384 / 0.79 GB, free: 8.359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.004773, allocations: 8.359 kB / 0.79 GB, free: 8.352 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.004937, allocations: 92.62 kB / 0.7901 GB, free: 8.246 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004944, allocations: 192 / 0.7901 GB, free: 8.246 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.004957, allocations: 4.359 kB / 0.7901 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.004965, allocations: 1.062 kB / 0.7901 GB, free: 8.242 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.005015, allocations: 28.45 kB / 0.7901 GB, free: 8.215 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.005159, allocations: 117.4 kB / 0.7902 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.005352, allocations: 64.27 kB / 0.7903 GB, free: 7.992 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.005389, allocations: 23.77 kB / 0.7903 GB, free: 7.965 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.005411, allocations: 4.625 kB / 0.7903 GB, free: 7.961 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.005436, allocations: 33.39 kB / 0.7904 GB, free: 7.918 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.005436, allocations: 1.125 kB / 0.7904 GB, free: 7.918 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001659/0.007096, allocations: 456.7 kB / 0.7908 GB, free: 7.441 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.007134, allocations: 59.34 kB / 0.7909 GB, free: 7.371 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.007218, allocations: 157.9 kB / 0.791 GB, free: 7.199 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.007237, allocations: 33.64 kB / 0.791 GB, free: 7.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.007274, allocations: 126.9 kB / 0.7912 GB, free: 7.031 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.007308, allocations: 19.8 kB / 0.7912 GB, free: 7.012 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.007358, allocations: 35.34 kB / 0.7912 GB, free: 6.969 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.007476, allocations: 493.6 kB / 0.7917 GB, free: 6.477 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.00753, allocations: 31.98 kB / 0.7917 GB, free: 6.445 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.691e-05/0.007577, allocations: 32.47 kB / 0.7917 GB, free: 6.414 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.007679, allocations: 64.23 kB / 0.7918 GB, free: 6.348 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.00768, allocations: 1.375 kB / 0.7918 GB, free: 6.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003914/0.008071, allocations: 117.7 kB / 0.7919 GB, free: 6.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.008086, allocations: 4.625 kB / 0.7919 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.008093, allocations: 3.984 kB / 0.7919 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.008109, allocations: 1.969 kB / 0.7919 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.008226, allocations: 23.92 kB / 0.792 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.008231, allocations: 3.938 kB / 0.792 GB, free: 6.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.008288, allocations: 11.98 kB / 0.792 GB, free: 6.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.008298, allocations: 0.5312 kB / 0.792 GB, free: 6.18 MB / 0.698 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.302e-05/0.008371, allocations: 157.1 kB / 0.7921 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.008393, allocations: 5.109 kB / 0.7921 GB, free: 6.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.008434, allocations: 13.88 kB / 0.7921 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.008435, allocations: 2.219 kB / 0.7921 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.008441, allocations: 8 kB / 0.7921 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.008444, allocations: 0 / 0.7921 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.008556, allocations: 134.9 kB / 0.7923 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008557, allocations: 0 / 0.7923 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.008663, allocations: 24.91 kB / 0.7923 GB, free: 5.805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008666, allocations: 3.938 kB / 0.7923 GB, free: 5.801 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.008681, allocations: 3.984 kB / 0.7923 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008681, allocations: 1.031 kB / 0.7923 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.008683, allocations: 7.938 kB / 0.7923 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.008951, allocations: 177.4 kB / 0.7925 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.008959, allocations: 1.453 kB / 0.7925 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.008977, allocations: 0 / 0.7925 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.009047, allocations: 5.062 kB / 0.7925 GB, free: 5.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.009067, allocations: 15.97 kB / 0.7925 GB, free: 5.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.009079, allocations: 7.938 kB / 0.7925 GB, free: 5.566 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.009114, allocations: 123.7 kB / 0.7926 GB, free: 5.445 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.009114, allocations: 1.625 kB / 0.7926 GB, free: 5.445 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001882/0.009302, allocations: 31.88 kB / 0.7927 GB, free: 5.414 MB / 0.698 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.0002014/0.009504, allocations: 128 kB / 0.7928 GB, free: 5.277 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.009736, allocations: 92.09 kB / 0.7929 GB, free: 5.184 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.009738, allocations: 1.094 kB / 0.7929 GB, free: 5.184 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.009813, allocations: 47.66 kB / 0.7929 GB, free: 5.133 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.009985, allocations: 12.64 kB / 0.7929 GB, free: 5.121 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.01063, allocations: 173.8 kB / 0.7931 GB, free: 4.926 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.01067, allocations: 63.16 kB / 0.7932 GB, free: 4.844 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.01077, allocations: 27.94 kB / 0.7932 GB, free: 4.816 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.01082, allocations: 20.47 kB / 0.7932 GB, free: 4.797 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/0.01082, allocations: 0 / 0.7932 GB, free: 4.797 MB / 0.698 GB Notification: Performance of Templates: time 0.003565/0.01439, allocations: 1.645 MB / 0.7948 GB, free: 3.215 MB / 0.698 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.120143363717943]