Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002395/0.002395, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.00276/0.00276, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.98/2.98, allocations: 377.8 MB / 0.6232 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/2.961e-05, allocations: 7.094 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002513/0.002543, allocations: 1.31 MB / 0.8121 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.003782, allocations: 0.6375 MB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.003798, allocations: 1.781 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.003816, allocations: 7.938 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.433e-05/0.00386, allocations: 3.938 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.004299, allocations: 108.6 kB / 0.8129 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.004363, allocations: 27.86 kB / 0.8129 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.004395, allocations: 1.531 kB / 0.8129 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.004461, allocations: 16.06 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.00453, allocations: 11.98 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.004548, allocations: 4 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.004845, allocations: 140.5 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.004859, allocations: 0 / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.004883, allocations: 7.984 kB / 0.8131 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.005144, allocations: 116.4 kB / 0.8132 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.005149, allocations: 4 kB / 0.8132 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.61e-07/0.00515, allocations: 4.625 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.005154, allocations: 0 / 0.8132 GB, free: 15.71 MB / 0.7761 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.0005786/0.005732, allocations: 382 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.005767, allocations: 8.031 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.006204, allocations: 34.55 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.006326, allocations: 112.6 kB / 0.8137 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.00634, allocations: 4.375 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.006362, allocations: 5.406 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.006555, allocations: 79.92 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.006563, allocations: 1.188 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.006577, allocations: 4.375 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.006582, allocations: 2.188 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.006718, allocations: 35.86 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.006912, allocations: 120.5 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.007219, allocations: 73.14 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.007298, allocations: 23.77 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.007314, allocations: 0 / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.007353, allocations: 42.05 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.007354, allocations: 0 / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.003274/0.01063, allocations: 0.5005 MB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.01068, allocations: 61.12 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.01079, allocations: 153.9 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.01082, allocations: 25.7 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.0109, allocations: 134.9 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.01094, allocations: 24.59 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.01101, allocations: 27.36 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002694/0.01128, allocations: 0.4971 MB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.0114, allocations: 39.98 kB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.01152, allocations: 37.31 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.0118, allocations: 94.22 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.0118, allocations: 0 / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003556/0.01215, allocations: 141.1 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.01217, allocations: 4 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01217, allocations: 240 / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01219, allocations: 0 / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.01239, allocations: 23.97 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.01241, allocations: 7.922 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.01255, allocations: 8 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.01257, allocations: 3.984 kB / 0.8158 GB, free: 12.82 MB / 0.7761 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.0001319/0.0127, allocations: 157.5 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.01273, allocations: 8 kB / 0.8159 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.01279, allocations: 10.28 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.01279, allocations: 1.062 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.0128, allocations: 3.938 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.0128, allocations: 0 / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.01298, allocations: 140 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01298, allocations: 0 / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.01319, allocations: 24.41 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.0132, allocations: 4.625 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.01322, allocations: 3.984 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01322, allocations: 5.406 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01322, allocations: 0 / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.01378, allocations: 221.6 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-06/0.01379, allocations: 1.094 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.01381, allocations: 0 / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.01397, allocations: 8.656 kB / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.01399, allocations: 3.984 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.01401, allocations: 15.36 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.01408, allocations: 123.2 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01408, allocations: 0 / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002325/0.01431, allocations: 35.81 kB / 0.8165 GB, free: 12.02 MB / 0.7761 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.0002325/0.01455, allocations: 127.1 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.01488, allocations: 102 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01488, allocations: 0 / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.01504, allocations: 67.58 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.01522, allocations: 18.11 kB / 0.8168 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.01586, allocations: 169.1 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.725e-05/0.01592, allocations: 69.17 kB / 0.817 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.01609, allocations: 24 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.01615, allocations: 16.48 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.01615, allocations: 0 / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.00508/0.02123, allocations: 1.662 MB / 0.8187 GB, free: 9.777 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.009485648944974]