Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001108/0.001108, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001667/0.002775, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001122/0.001122, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002463, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09596/1.11, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.497/2.497, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2655/2.763, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.201e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001902/0.001924, allocations: 1.39 MB / 0.8197 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.002688, allocations: 0.6542 MB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.002712, allocations: 0 / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.094e-06/0.002719, allocations: 0 / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.871e-05/0.002748, allocations: 11.86 kB / 0.8203 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.00308, allocations: 107.4 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.003137, allocations: 23.86 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.003174, allocations: 4 kB / 0.8204 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.003226, allocations: 15.98 kB / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.003288, allocations: 11.97 kB / 0.8205 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.003299, allocations: 0 / 0.8205 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.00354, allocations: 147.7 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.003551, allocations: 0 / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.003567, allocations: 8 kB / 0.8206 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.003729, allocations: 108.6 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.561e-05/0.003744, allocations: 0 / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003745, allocations: 0 / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.003758, allocations: 0 / 0.8207 GB, free: 408 kB / 0.7917 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.0003715/0.004129, allocations: 264.5 kB / 0.821 GB, free: 116 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.004161, allocations: 12.62 kB / 0.821 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.004473, allocations: 106 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.004555, allocations: 117.8 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.004566, allocations: 384 / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.004587, allocations: 8.328 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.004717, allocations: 88.56 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.004725, allocations: 192 / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.004733, allocations: 8.25 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.004739, allocations: 4.375 kB / 0.8213 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.593e-05/0.004775, allocations: 15.92 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.012e-05/0.004865, allocations: 65.05 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.005012, allocations: 50.58 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.005031, allocations: 12.86 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.005047, allocations: 0 / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.00507, allocations: 38.64 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.00507, allocations: 0 / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.001587/0.006657, allocations: 468.7 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.006684, allocations: 55.41 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.708e-05/0.006731, allocations: 98.72 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.006748, allocations: 29.7 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.006766, allocations: 84.12 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.006797, allocations: 19.84 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.006835, allocations: 21.7 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.006911, allocations: 326.8 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.006942, allocations: 16 kB / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.006971, allocations: 20.17 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.007037, allocations: 56.97 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.007038, allocations: 0 / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.665e-05/0.007135, allocations: 85.58 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.007148, allocations: 4 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.007152, allocations: 0 / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.00716, allocations: 4 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.007303, allocations: 23.95 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.007306, allocations: 4 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.007353, allocations: 11.94 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.007362, allocations: 7.984 kB / 0.8228 GB, free: 14.1 MB / 0.8073 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 6.708e-05/0.007429, allocations: 109.8 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.007448, allocations: 8 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.007489, allocations: 20 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.007492, allocations: 4 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.007494, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.007497, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.068e-05/0.007578, allocations: 77.83 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.00758, allocations: 3.938 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/0.00768, allocations: 27.95 kB / 0.823 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.007689, allocations: 11.94 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.00769, allocations: 0 / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.007699, allocations: 4 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.007702, allocations: 4 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007703, allocations: 0 / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.007868, allocations: 129 kB / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.007883, allocations: 3.984 kB / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.00794, allocations: 11.94 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.00795, allocations: 0 / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.007959, allocations: 7.984 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.428e-06/0.007969, allocations: 12.89 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007969, allocations: 0 / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001435/0.008112, allocations: 31.92 kB / 0.8232 GB, free: 13.59 MB / 0.8073 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.0001555/0.008268, allocations: 104.3 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.981e-05/0.008368, allocations: 64.88 kB / 0.8234 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.008374, allocations: 4 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.008408, allocations: 40.86 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.008515, allocations: 27.84 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.009326, allocations: 140.6 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.117e-05/0.009357, allocations: 63.2 kB / 0.8236 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.009457, allocations: 24.33 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.009548, allocations: 67.34 kB / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of SimCode: time 8.42e-07/0.009549, allocations: 0 / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.003354/0.0129, allocations: 1.865 MB / 0.8255 GB, free: 11.2 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.ref.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.378430656157434]