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.001796/0.001796, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.002231/0.002231, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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 1.485/1.485, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.715/2.715, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.543e-06/1.543e-06, allocations: 0 / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.016e-05, allocations: 5.266 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002833/0.002863, allocations: 1.31 MB / 0.7877 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.004155, allocations: 0.5954 MB / 0.7882 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.004175, allocations: 0 / 0.7882 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.0042, allocations: 3.938 kB / 0.7883 GB, free: 9.781 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-05/0.004241, allocations: 2.5 kB / 0.7883 GB, free: 9.781 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.004766, allocations: 115.3 kB / 0.7884 GB, free: 9.668 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.004837, allocations: 27.86 kB / 0.7884 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.004876, allocations: 3.984 kB / 0.7884 GB, free: 9.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.004919, allocations: 11.98 kB / 0.7884 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.004984, allocations: 5.719 kB / 0.7884 GB, free: 9.621 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.005002, allocations: 4 kB / 0.7884 GB, free: 9.617 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.00531, allocations: 143.7 kB / 0.7886 GB, free: 9.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.005329, allocations: 7.969 kB / 0.7886 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.005355, allocations: 4.594 kB / 0.7886 GB, free: 9.465 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.005627, allocations: 119.6 kB / 0.7887 GB, free: 9.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00563, allocations: 4.594 kB / 0.7887 GB, free: 9.344 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.42e-07/0.00563, allocations: 1.062 kB / 0.7887 GB, free: 9.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.005634, allocations: 0 / 0.7887 GB, free: 9.344 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.0005719/0.006206, allocations: 280 kB / 0.789 GB, free: 9.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.006251, allocations: 8.031 kB / 0.789 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/0.006781, allocations: 38.3 kB / 0.789 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.006907, allocations: 109.7 kB / 0.7891 GB, free: 8.863 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.006924, allocations: 4.375 kB / 0.7891 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.006953, allocations: 1.344 kB / 0.7891 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.007184, allocations: 88.61 kB / 0.7892 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.007193, allocations: 192 / 0.7892 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.007207, allocations: 2.938 kB / 0.7892 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.007211, allocations: 384 / 0.7892 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.007366, allocations: 35.89 kB / 0.7892 GB, free: 8.727 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.007562, allocations: 113.3 kB / 0.7893 GB, free: 8.586 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.00793, allocations: 67.78 kB / 0.7894 GB, free: 8.512 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.00802, allocations: 23.12 kB / 0.7894 GB, free: 8.488 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.008043, allocations: 4 kB / 0.7894 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.008078, allocations: 34.5 kB / 0.7895 GB, free: 8.441 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.008079, allocations: 0 / 0.7895 GB, free: 8.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.003838/0.01192, allocations: 0.4994 MB / 0.7899 GB, free: 7.918 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.01197, allocations: 59.33 kB / 0.79 GB, free: 7.848 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.01206, allocations: 95.77 kB / 0.7901 GB, free: 7.746 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.01209, allocations: 25.7 kB / 0.7901 GB, free: 7.715 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.01215, allocations: 88.14 kB / 0.7902 GB, free: 7.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.01219, allocations: 19.8 kB / 0.7902 GB, free: 7.605 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.01226, allocations: 29.69 kB / 0.7903 GB, free: 7.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.01244, allocations: 317.3 kB / 0.7906 GB, free: 7.254 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.0126, allocations: 35.97 kB / 0.7906 GB, free: 7.219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.01275, allocations: 35.97 kB / 0.7906 GB, free: 7.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.01306, allocations: 79.28 kB / 0.7907 GB, free: 7.105 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01306, allocations: 0 / 0.7907 GB, free: 7.105 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004186/0.01348, allocations: 139.4 kB / 0.7908 GB, free: 6.965 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01349, allocations: 4.781 kB / 0.7908 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.0135, allocations: 0 / 0.7908 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.01352, allocations: 3.156 kB / 0.7908 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.01376, allocations: 31.95 kB / 0.7909 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.01377, allocations: 3.938 kB / 0.7909 GB, free: 6.926 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.01393, allocations: 4 kB / 0.7909 GB, free: 6.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.01395, allocations: 7.984 kB / 0.7909 GB, free: 6.914 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 0.000114/0.01407, allocations: 109.8 kB / 0.791 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.0141, allocations: 5.781 kB / 0.791 GB, free: 6.793 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.01416, allocations: 9.062 kB / 0.791 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01417, allocations: 5.125 kB / 0.791 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.01418, allocations: 8 kB / 0.791 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.01418, allocations: 0 / 0.791 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.01434, allocations: 120.7 kB / 0.7911 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01434, allocations: 3.938 kB / 0.7911 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.0146, allocations: 29.25 kB / 0.7912 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.0146, allocations: 3.984 kB / 0.7912 GB, free: 6.594 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.01462, allocations: 4 kB / 0.7912 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01462, allocations: 0 / 0.7912 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01462, allocations: 1.875 kB / 0.7912 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.01525, allocations: 198.1 kB / 0.7914 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.01525, allocations: 4.188 kB / 0.7914 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.01528, allocations: 4 kB / 0.7914 GB, free: 6.371 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.0155, allocations: 12.02 kB / 0.7914 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.01552, allocations: 4 kB / 0.7914 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01554, allocations: 8.25 kB / 0.7914 GB, free: 6.348 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.272e-05/0.0156, allocations: 83.22 kB / 0.7915 GB, free: 6.266 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.0156, allocations: 0 / 0.7915 GB, free: 6.266 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000265/0.01586, allocations: 35.88 kB / 0.7915 GB, free: 6.23 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.0002485/0.01611, allocations: 131.2 kB / 0.7916 GB, free: 6.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.01651, allocations: 79.94 kB / 0.7917 GB, free: 6.012 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01652, allocations: 0 / 0.7917 GB, free: 6.012 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.01669, allocations: 51.89 kB / 0.7918 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01694, allocations: 15.98 kB / 0.7918 GB, free: 5.945 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.01767, allocations: 162.5 kB / 0.7919 GB, free: 5.762 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.01774, allocations: 71.28 kB / 0.792 GB, free: 5.672 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.01792, allocations: 35.86 kB / 0.792 GB, free: 5.637 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.018, allocations: 16.48 kB / 0.792 GB, free: 5.621 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.018, allocations: 0 / 0.792 GB, free: 5.621 MB / 0.698 GB Notification: Performance of Templates: time 0.005145/0.02314, allocations: 1.652 MB / 0.7937 GB, free: 4.039 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.654470036039129]