Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.001123/0.001123, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001759/0.002881, allocations: 440 kB / 10.41 MB, free: 284 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.001156/0.001156, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002765, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9749/0.9749, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.063, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.506/2.506, allocations: 447.1 MB / 0.675 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2398/2.746, allocations: 146 MB / 0.8176 GB, free: 3.855 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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.859e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002594/0.002613, allocations: 1.364 MB / 0.8203 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.002963, allocations: 235.2 kB / 0.8205 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.00298, allocations: 0 / 0.8205 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.885e-06/0.002987, allocations: 4 kB / 0.8205 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.089e-05/0.003008, allocations: 3.938 kB / 0.8205 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.003227, allocations: 39.77 kB / 0.8205 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.564e-05/0.003292, allocations: 19.92 kB / 0.8206 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.003333, allocations: 3.984 kB / 0.8206 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.003381, allocations: 11.98 kB / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.003461, allocations: 11.92 kB / 0.8206 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.003476, allocations: 0 / 0.8206 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.003598, allocations: 47.97 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.003612, allocations: 0 / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.003629, allocations: 4 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003754, allocations: 43.89 kB / 0.8207 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.003767, allocations: 0 / 0.8207 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003768, allocations: 0 / 0.8207 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.003782, allocations: 3.938 kB / 0.8207 GB, free: 0.707 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004208/0.004203, allocations: 240.6 kB / 0.8209 GB, free: 456 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.00424, allocations: 12.03 kB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.004441, allocations: 97.97 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.846e-05/0.00452, allocations: 105.7 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.004533, allocations: 4.375 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.004557, allocations: 384 / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004668, allocations: 67.95 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.004676, allocations: 192 / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004685, allocations: 4.359 kB / 0.8212 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.004694, allocations: 4.375 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.111e-05/0.004725, allocations: 11.92 kB / 0.8212 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.004827, allocations: 69.03 kB / 0.8213 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.004931, allocations: 38.52 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.004956, allocations: 17.03 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.004963, allocations: 4 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.131e-05/0.005054, allocations: 30.56 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.005056, allocations: 0 / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.00155/0.006605, allocations: 460.8 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.006638, allocations: 55.41 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.662e-05/0.006674, allocations: 93.84 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.006688, allocations: 25.7 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.006716, allocations: 80.14 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.006761, allocations: 31.73 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.006812, allocations: 25.7 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.006915, allocations: 318.8 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.006939, allocations: 12 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.006963, allocations: 12 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.007035, allocations: 44.77 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007036, allocations: 4 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001023/0.007138, allocations: 65.69 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.007154, allocations: 7.984 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.007159, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.007173, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.007286, allocations: 23.88 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007288, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.007325, allocations: 7.938 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.007333, allocations: 4.078 kB / 0.8226 GB, free: 14.56 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 (9): * Single equations (assignments): 9 * 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.61e-05/0.007399, allocations: 109.8 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.007417, allocations: 15.98 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.00745, allocations: 11.97 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007451, allocations: 0 / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.007453, allocations: 0 / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.007459, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.278e-05/0.007552, allocations: 77.84 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007554, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.007661, allocations: 19.98 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.007669, allocations: 3.953 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.007671, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.007681, allocations: 4 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.007684, allocations: 7.984 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.007691, allocations: 0 / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.007864, allocations: 121 kB / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.007877, allocations: 0 / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.00794, allocations: 8.438 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.007959, allocations: 3.984 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.007967, allocations: 4 kB / 0.823 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.037e-06/0.007976, allocations: 4.859 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007976, allocations: 0 / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001637/0.00814, allocations: 12 kB / 0.823 GB, free: 14.11 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 (8): * Single equations (assignments): 8 * 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.0002512/0.008391, allocations: 84.45 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.008508, allocations: 56.7 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.008516, allocations: 0 / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.008561, allocations: 36.84 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.008704, allocations: 15.94 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.00962, allocations: 171.2 kB / 0.8233 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.009659, allocations: 59.34 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.705e-05/0.009726, allocations: 8 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.009815, allocations: 63.36 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of SimCode: time 1.001e-06/0.009816, allocations: 0 / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.002946/0.01276, allocations: 0.8006 MB / 0.8242 GB, free: 12.82 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.363742713816464]